OpenAPI Response Delete 403 Status Code Error (Edit)

DELETE responses should have a 403 forbidden HTTP status code, communicating that consumers are not allowed to access

OpenAPIResponsesDELETE4xx

Rule Definition

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

Back to All of the Rules