OpenAPI Response Delete 401 Schema Ref Error (Edit)

DELETE 401 unauthorized HTTP status codes have a schema references to standardize the response payload returned for the error response

OpenAPIResponsesDELETE4xx

Rule Definition

openapi-response-delete-401-schema-ref-error.yaml
{"openapi-response-delete-401-schema-ref-error":{"description":"DELETE 401 unauthorized HTTP status codes have a schema references to standardize the response payload returned for the error response","message":"DELETE 401 Responses MUST Use Schema Reference","severity":"error","given":"$.paths.*.delete.responses.401","then":{"field":"$ref","function":"falsy"}}}

Back to All of the Rules