OpenAPI Response Schemas Ref Error (Edit)

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

OpenAPIResponsesSchemas

Rule Definition

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

Back to All of the Rules