OptionaldescriptionOptional description from the OpenAPI schema. Used to generate JSDoc comments for the property.
OptionaldiscriminatorDiscriminator configuration for polymorphic union properties.
Used with class-transformer's @Type decorator to enable runtime deserialization
of discriminated unions (oneOf with discriminator).
Maps discriminator values to TypeScript class names. Key: discriminator value from the schema Value: TypeScript class name to instantiate
The name of the discriminator property (e.g., 'type', 'kind', 'contentType').
Indicates if this property is optional (nullable or not required).
When true, generates the ? modifier and @IsOptional() decorator.
Indicates if this property is readonly.
When true, generates the readonly modifier.
The property name in camelCase. Safe to use as a TypeScript property identifier.
The type information for this property. Includes primitives, DTO references, arrays, and compositions.
List of validation rules to apply to this property. Each validator generates a class-validator decorator.
Represents a single property/field within a DTO class.