Openapi Response Get Headers Info (Edit)

Ensures GET responses have headers.

Rule Definition

openapi-response-get-headers-info.yaml
{ "openapi-response-get-headers-info": {"description":"Ensures GET responses have headers.","message":"GET response has headers.","severity":"info","given":"$.paths.*.get.responses.200","then":{"field":"headers","function":"falsy"}} }

Back to All of the Rules