Openapi Components Headers Error (Edit)

Require components header.

Rule Definition

openapi-components-headers-error.yaml
{ "openapi-components-headers-error": {"description":"Require components header.","message":"Components MUST have a headers property.","severity":"error","given":"$.components","then":{"field":"headers","function":"truthy"}} }

Back to All of the Rules