OpenAPI Response Post 401 Schema Ref Error (Edit)

POST 401 unauthorized HTTP status codes have a schema references to standardize the response payload returned for the error response

OpenAPIResponsesPOST4xxSchema

Rule Definition

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

Back to All of the Rules