OpenAPI Response Get 404 Schema Ref Info (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-info.yaml
{"openapi-response-get-404-schema-ref-info":{"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 Uses Schema Reference","severity":"info","given":"$.paths.*.get.responses.404","then":{"field":"$ref","function":"truthy"}}}

Back to All of the Rules