OpenAPI Response Get 200 Media Type Examples Info (Edit)

GET 200 success HTTP status codes have examples to show one or many examples of responses for different types of API requests

OpenAPIResponsesGET2xxMedia TypesExamples

Rule Definition

openapi-response-get-200-media-type-examples-info.yaml
{"openapi-response-get-200-media-type-examples-info":{"description":"GET 200 success HTTP status codes have examples to show one or many examples of responses for different types of API requests","message":"GET 200 ResponseHas Examples","severity":"info","given":"$.paths.*.get.responses.200.content['application/json']","then":{"field":"examples","function":"falsy"}}}

Back to All of the Rules