OpenAPI Response Get 200 Media Type Schema Ref Info (Edit)

GET 200 success HTTP status codes have a schema references to standardize the response payload returned for a successful response

OpenAPIResponsesGET2xxMedia TypesSchema

Rule Definition

openapi-response-get-200-media-type-schema-ref-info.yaml
{"openapi-response-get-200-media-type-schema-ref-info":{"description":"GET 200 success HTTP status codes have a schema references to standardize the response payload returned for a successful response","message":"GET 200 Responses Uses Schema Reference","severity":"info","given":"$.paths.*.get.responses.200.content['application/json'].schema","then":{"field":"$ref","function":"truthy"}}}

Back to All of the Rules