OpenAPI Response Post 404 Status Code Error (Edit)

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

OpenAPIResponsesPOST4xx

Rule Definition

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

Back to All of the Rules