OpenAPI Response Get 400 Status Code Error (Edit)

GET responses should have a 400 not found HTTP status code, communicating nothing was found to consumers

OpenAPIResponsesGET4xx

Rule Definition

openapi-response-get-400-status-code-error.yaml
{"openapi-response-get-400-status-code-error":{"description":"GET responses should have a 400 not found HTTP status code, communicating nothing was found to consumers","message":"GET Responses MUST Have 400 Status Codes","severity":"error","given":"$.paths.*.get.responses","then":{"field":"400","function":"truthy"}}}

Back to All of the Rules