Openapi Response Post 500 Status Code Error (Edit)

Has 500 status code for POST response.

Rule Definition

openapi-response-post-500-status-code-error.yaml
{ "openapi-response-post-500-status-code-error": {"description":"Has 500 status code for POST response.","message":"500 Status Code for POST Responses","severity":"error","given":"$.paths.*.post.responses","then":{"field":"500","function":"truthy"}} }

Back to All of the Rules