Openapi Components Responses Unauthorized Error (Edit)

Require components unauthorized response.

Rule Definition

openapi-components-responses-unauthorized-error.yaml
{ "openapi-components-responses-unauthorized-error": {"description":"Require components unauthorized response.","message":"Components MUST have a unauthorized response.","severity":"error","given":"$.components.responses","then":{"field":"Unauthorized","function":"truthy"}} }

Back to All of the Rules