OpenAPI Components Schemas Error (Edit)

Utilizing the schema object in the centralized OpenAPI components library helps make schema reusable across API requests and responses

OpenAPIComponentsDefault

Rule Definition

openapi-components-schemas-error.yaml
{"openapi-components-schemas-error":{"description":"Utilizing the schema object in the centralized OpenAPI components library helps make schema reusable across API requests and responses","message":"Components MUST Have a Schema Property","severity":"error","given":"$.components","then":{"field":"schemas","function":"truthy"}}}

Back to All of the Rules