OpenAPI Response Get 400 Schema Ref Error (Edit)

GET 400 bad request HTTP status codes have a schema references to standardize the response payload returned for the error response

OpenAPIResponsesGET4xxSchema

Rule Definition

openapi-response-get-400-schema-ref-error.yaml
{"openapi-response-get-400-schema-ref-error":{"description":"GET 400 bad request HTTP status codes have a schema references to standardize the response payload returned for the error response","message":"GET 400 Responses MUST Use Schema Reference","severity":"error","given":"$.paths.*.get.responses.400","then":{"field":"$ref","function":"falsy"}}}

Back to All of the Rules