Openapi Schema Properties Define Number Maximum Error (Edit)

Require schema property number minimum.

Rule Definition

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

Back to All of the Rules