OpenAPI Response Get 200 Media Type Schema Info (Edit)

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

OpenAPIResponsesGET2xxMedia TypesSchema

Rule Definition

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

Back to All of the Rules