OpenAPI Response Put 401 Schema Ref Info (Edit)

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

OpenAPIResponsesPUT4xxSchema

Rule Definition

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

Back to All of the Rules