You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: