{
  "filters": {
    "revapi": {
      "java": {
        "_comment": "Only classes with javax.ws.rs annotations are included since we want to check only REST API.",
        "filter": {
          "packages": {
            "regex": true,
            "comment": "We don't want to check transitive classes, e.g. from kie-server-api, since we already check them in their own module.",
            "include": [
              "org\\.kie\\.server\\.remote\\.rest\\.common.*"
            ],
            "exclude": [
              "org\\.kie\\.server\\.remote\\.rest\\.common\\.util"
            ]
          },
          "_comment": "Classes are excluded, not included, so new classes in future are discovered by revapi.",
          "classes": {
            "regex": false,
            "exclude": [
              "org.kie.server.remote.rest.common.Header",
              "org.kie.server.remote.rest.common.KieServerApplication",
              "org.kie.server.remote.rest.common.KieServerRestApplicationComponentService"
            ]
          }
        }
      }
    }
  },

  "ignores": {
    "revapi": {
      "_comment": "Changes between 7.18.0.Final and the current branch. These changes are desired and thus ignored.",
      "ignore": [
        {
          "code": "java.annotation.attributeValueChanged",
          "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.common.resource.KieServerRestImpl::updateReleaseId(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String, ===boolean===)",
          "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.common.resource.KieServerRestImpl::updateReleaseId(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String, ===boolean===)",
          "annotationType": "io.swagger.annotations.ApiParam",
          "annotation": "@io.swagger.annotations.ApiParam(\"Determines whether active processes are aborted (reset) before updating when the server runs in development mode\")",
          "attribute": "value",
          "oldValue": "\"Allows to reset the current environment aborting active process instances before updating when the server runs on development mode. Optional, defaults to false\"",
          "newValue": "\"Determines whether active processes are aborted (reset) before updating when the server runs in development mode\"",
          "package": "org.kie.server.remote.rest.common.resource",
          "classSimpleName": "KieServerRestImpl",
          "methodName": "updateReleaseId",
          "parameterIndex": "3",
          "elementKind": "parameter",
          "justification": "Controller Swagger docs update"
        }
      ]
    }
  }
}
