OpenAPI Response Get 401 Schema Ref Info (Edit)

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

OpenAPIResponsesGET4xxSchema

Rule Definition

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

Back to All of the Rules