Openapi Request Body On Put Error Info (Edit)

Requires request body on PUT.

Rule Definition

openapi-request-body-on-put-error-info.yaml
{ "openapi-request-body-on-put-error-info": {"description":"Requires request body on PUT.","message":"Request Body PUT","given":"$.paths.*.put","severity":"error","then":{"field":"requestBody","function":"truthy"}} }

Back to All of the Rules