OpenAPI Response Delete 401 Status Code Error (Edit)

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

OpenAPIResponsesDELETE4xx

Rule Definition

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

Back to All of the Rules