OpenAPI Response Post 401 Schema Ref Info (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-info.yaml
{"openapi-response-post-401-schema-ref-info":{"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 Uses Schema Reference","severity":"info","given":"$.paths.*.post.responses.401","then":{"field":"$ref","function":"truthy"}}}

Back to All of the Rules