Openapi Request Body Schema Properties Define Number Minimum Error (Edit)

Require request body schema property number minimum.

Rule Definition

openapi-request-body-schema-properties-define-number-minimum-error.yaml
{ "openapi-request-body-schema-properties-define-number-minimum-error": {"description":"Require request body schema property number minimum.","message":"Request Body Schema Property Number Minimum","severity":"error","given":"$.paths.*.*.requestBody.content.*.schema.properties.[?(@.type==\"number\")]","then":[{"field":"minimum","function":"defined"}]} }

Back to All of the Rules