OpenAPI Response Get 404 Schema Ref Error (Edit)

GET 404 not found HTTP status codes have a schema references to standardize the response payload returned for the error response

OpenAPIResponsesGET4xxSchema

Rule Definition

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

Back to All of the Rules