This library is incorrectly generating TypeScript types for OpenAPI schemas that combine oneOf with properties. The generated type only includes the oneOf union, ignoring the additional properties defined in the schema.
Expected behavior
The generated TypeScript type should be an intersection of the oneOf union and an object type with the additional properties. Something like:
Description
This library is incorrectly generating TypeScript types for OpenAPI schemas that combine oneOf with properties. The generated type only includes the oneOf union, ignoring the additional properties defined in the schema.
OpenAPI specification (optional)
Expected behavior The generated TypeScript type should be an intersection of the oneOf union and an object type with the additional properties. Something like:
Actual behavior
Configuration
No response
System information (optional)
No response