Openapi Response Get 200 Content Info (Edit)

Require content for GET.

Rule Definition

openapi-response-get-200-content-info.yaml
{ "openapi-response-get-200-content-info": {"description":"Require content for GET.","message":"GET Content","severity":"info","given":"$.paths.*.get.responses.200","then":{"field":"content","function":"falsy"}} }

Back to All of the Rules