Skip to content

Interface: ResourcefulNumberTypeOptions

Configuration options for ResourcefulNumberType instances. Defines validation rules and constraints for numeric fields in OpenAPI schemas.

See

OpenAPI 3.0 Number Type

Extends

Extended by

Properties

PropertyTypeDescriptionInherited from
exclusiveMaximumbooleanWhether the maximum value is exclusive (value must be less than maximum)-
exclusiveMinimumbooleanWhether the minimum value is exclusive (value must be greater than minimum)-
format"float" | "double"Number format specification for precision (float or double)-
maximumnumberMaximum value constraint for the number-
minimumnumberMinimum value constraint for the number-
multipleOfnumberValue must be a multiple of this number-
nullable?booleanWhether the value can be nullBaseInterface.nullable
readOnly?booleanWhether the property is read-only (not included in create/update operations)BaseInterface.readOnly
writeOnly?booleanWhether the property is write-only (not included in response serialization)BaseInterface.writeOnly