OpenAPI Response Put 400 Schema Ref Error (Edit)

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

OpenAPIResponsesPUT4xxSchema

Rule Definition

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

Back to All of the Rules