Openapi Schema Required Info (Edit)

Has schema required.

Rule Definition

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

Back to All of the Rules