OpenAPI Response Put 401 Status Code Error (Edit)

PUT responses should have a 401 unauthorized HTTP status code, communicating that consumers do not have access

OpenAPIResponsesPUT4xx

Rule Definition

openapi-response-put-401-status-code-error.yaml
{"openapi-response-put-401-status-code-error":{"description":"PUT responses should have a 401 unauthorized HTTP status code, communicating that consumers do not have access","message":"PUT Responses MUST 401 Status Codes","severity":"error","given":"$.paths.*.put.responses","then":{"field":"401","function":"truthy"}}}

Back to All of the Rules