Openapi Response Get 200 Application Xml Error (Edit)

Require XML media type for GET.

Rule Definition

openapi-response-get-200-application-xml-error.yaml
{ "openapi-response-get-200-application-xml-error": {"description":"Require XML media type for GET.","message":"XML Media Type GET","severity":"error","given":"$.paths.*.get.responses.200.content","then":{"field":"application/xml","function":"truthy"}} }

Back to All of the Rules