{
  "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.5.0.Final and the current branch. These changes are desired and thus ignored.",
      "ignore": [
        {
          "code": "java.annotation.attributeValueChanged",
          "old": "method javax.ws.rs.core.Response org.kie.server.remote.rest.common.resource.KieServerRestImpl::getScannerInfo(javax.ws.rs.core.HttpHeaders, java.lang.String)",
          "new": "method javax.ws.rs.core.Response org.kie.server.remote.rest.common.resource.KieServerRestImpl::getScannerInfo(javax.ws.rs.core.HttpHeaders, java.lang.String)",
          "annotationType": "io.swagger.annotations.ApiOperation",
          "annotation": "@io.swagger.annotations.ApiOperation(value = \"Retrieves scanner information for given container\", response = org.kie.server.api.model.ServiceResponse.class, code = 200)",
          "attribute": "value",
          "oldValue": "\"Retrieves stanner information for given container\"",
          "newValue": "\"Retrieves scanner information for given container\"",
          "package": "org.kie.server.remote.rest.common.resource",
          "classSimpleName": "KieServerRestImpl",
          "methodName": "getScannerInfo",
          "elementKind": "method",
          "justification": "Minor change in Swagger docs"
        }
      ]
    }
  }
}
