OpenAPI Response Post 400 Schema Ref Error (Edit)

POST 400 bad request HTTP status codes have a schema references to standardize the response payload returned for the error response

OpenAPIResponsesPOST4xxSchema

Rule Definition

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

Back to All of the Rules