OpenAPI Response Get 500 Schema Ref Error (Edit)

GET 500 internal server error requests HTTP status codes have a schema references to standardize the response payload returned for the error response

OpenAPIResponsesGET5xxSchema

Rule Definition

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

Back to All of the Rules