Openapi Components Responses Forbidden Error (Edit)

Require components forbidden response.

Rule Definition

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

Back to All of the Rules