OpenAPI Response Schemas Error (Edit)

Have schemas to show one or many schemas of responses for different types of API requests

OpenAPIResponsesSchemas

Rule Definition

openapi-response-schemas-error.yaml
{"openapi-response-schemas-error":{"description":"Have schemas to show one or many schemas of responses for different types of API requests","message":"Response MUST Have Schemas","severity":"error","given":"$.paths.*.get.responses.*.*.*","then":{"field":"schemas","function":"truthy"}}}

Back to All of the Rules