Skip to content

Interface: ResourcefulNumberType

Instance type for ResourcefulNumberType with validated properties. Represents floating-point numbers as defined in the OpenAPI 3.0 specification.

See

OpenAPI 3.0 Number Type

Extends

Properties

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