OptionaldescriptionOptional description from the OpenAPI schema. Used to generate JSDoc comments in the output DTO.
OptionaldiscriminatorThe name of the discriminator property for polymorphic handling. Used when this model is the parent of a discriminated union (oneOf with discriminator).
OptionalenumThe enum values when isEnum is true.
Each string represents one enum member value.
OptionalextendsThe name of the parent class this model extends (for inheritance via allOf).
When present, the generated class will use extends ParentClass.
The base filename in kebab-case without extension. Used for generating file paths and import module specifiers. Always uses the original schema name, regardless of reserved word conflicts.
Indicates if this model represents a TypeScript enum. When true, generates an enum file instead of a DTO class file.
The sanitized TypeScript class/enum name. Safe to use as a TypeScript identifier (reserved words are suffixed with '_').
The list of properties/fields for this DTO. Empty for enums or pure oneOf type aliases.
OptionalsubThe list of subtypes for discriminated unions (oneOf schemas). Each entry maps a discriminator value to a concrete class name. For pure oneOf models, this is used to generate type alias unions instead of classes.
Represents a Data Transfer Object (DTO) or Enum model in the IR. Each IrModel corresponds to one generated TypeScript class/enum file.