Openapi Response Get 201 Content Info (Edit)

Require content for POST.

Rule Definition

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

Back to All of the Rules