Use the XML Validator policy to validate a request against a XML schema. You can specify limits on various XML structures, such as arrays and strings. This capability minimizes the risk posed by content-level attacks. The policy gets applied and is executed only if the Content-Type of the request or response header is set to application/XML
upload a XML schema file in the Policy dialog as a valid swagger XML document. If an invalid path or parameter or object is not defined in the XML schema, the client receives a Schema Validation Failed
error.
Info |
---|
Alternatively, you can use the specification that you upload to create an API. |
Policy Execution Order
This XML Validator policy executes after the request has been authenticated.
...