OpenAPI Response Post 500 Schema Ref Error (Edit)

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

OpenAPIResponsesPOST5xxSchema

Rule Definition

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

Back to All of the Rules