Openapi Schema Required Error (Edit)

Require schema required.

Rule Definition

openapi-schema-required-error.yaml
{ "openapi-schema-required-error": {"description":"Require schema required.","message":"Schema Required","severity":"error","given":"$.components.schemas.[?(@.type==\"object\")]","then":{"field":"required","function":"truthy"}} }

Back to All of the Rules