Kuzma
Kuzma
https://github.com/OpenAPITools/openapi-generator/issues/14569 Added `enumType` generator argument: - `stringUnion` - `"available" | "pending" | "sold"` - `enum` - `{ Available = 'available', Pending = 'pending', Sold = 'sold' }` ### PR checklist...
#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [x]...
### Description of the PR I have implemented `oneOf` schemas as a type union and a `oneOf` class with a discriminator and mapping, similar to [PR 2617](https://github.com/OpenAPITools/openapi-generator/pull/2617) and [PR 2647](https://github.com/OpenAPITools/openapi-generator/pull/2647),...
## Summary - Implements oneOf type resolution for TypeScript generator when discriminator is not present - Adds `OneOfClass` with `findMatchingType()` method to determine correct type at runtime - Enhances `ObjectSerializer`...