OpenAPI Response Delete 400 Status Code Error (Edit)

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

OpenAPIResponsesDELETE4xx

Rule Definition

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

Back to All of the Rules