OpenAPI Response Put 400 Status Code Error (Edit)

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

OpenAPIResponsesPUT4xxDefault

Rule Definition

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

Back to All of the Rules