Interface: ResourcefulObjectTypeOptions
Configuration options for ResourcefulObjectType instances. Defines complex object schemas with typed properties and validation rules. Supports advanced OpenAPI features like oneOf, allOf, anyOf, and not operators.
See
Extends
Extended by
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
additionalProperties? | | boolean | ResourcefulDataType | Whether additional properties beyond those defined are allowed, or direct data type for additional properties | - |
maxProperties? | number | Maximum number of properties allowed in the object | - |
minProperties? | number | Minimum number of properties required in the object | - |
nullable? | boolean | Whether the value can be null | BaseInterface.nullable |
properties | { [key: string]: | ResourcefulDataType | { oneOf: ResourcefulDataType[]; } | { allOf: ResourcefulDataType[]; } | { anyOf: ResourcefulDataType[]; } | { not: ResourcefulDataType[]; }; } | Object properties definition supporting direct data types and composition patterns | - |
readOnly? | boolean | Whether the property is read-only (not included in create/update operations) | BaseInterface.readOnly |
required? | string[] | Array of property names that are required for object validation | - |
writeOnly? | boolean | Whether the property is write-only (not included in response serialization) | BaseInterface.writeOnly |