OpenAPI Response Post 400 Status Code Error (Edit)

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

OpenAPIResponsesPOST4xx

Rule Definition

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

Back to All of the Rules