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

  "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": "method javax.ws.rs.core.Response org.kie.server.remote.rest.dmn.ModelEvaluatorResource::evaluateDecisions(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String)",
          "new": "method javax.ws.rs.core.Response org.kie.server.remote.rest.dmn.ModelEvaluatorResource::evaluateDecisions(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String)",
          "annotationType": "io.swagger.annotations.ApiOperation",
          "annotation": "@io.swagger.annotations.ApiOperation(value = \"Evaluates decisions for given input\", response = org.kie.server.api.model.ServiceResponse.class, code = 200)",
          "attribute": "value",
          "oldValue": "\"Evaluates decisions for given imput\"",
          "newValue": "\"Evaluates decisions for given input\"",
          "package": "org.kie.server.remote.rest.dmn",
          "classSimpleName": "ModelEvaluatorResource",
          "methodName": "evaluateDecisions",
          "elementKind": "method",
          "justification": "BXMSDOC-3368 - Validate, correct, and apply new KIE Server REST API endpoint data to Swagger"
        }
      ]
    }
  }
}
