OpenAPI Response Put 404 Status Code Error (Edit)

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

OpenAPIResponsesPUT4xx

Rule Definition

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

Back to All of the Rules