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
All the client generators that I tried so far were not able to reconstruct this to a proper union type. It's turned into an object with two optional properties. Like here in TypeScript
typeFooBar={foo?: string,bar?: number}
Do I miss something here or would that be an enhancement?
The text was updated successfully, but these errors were encountered:
I'm not 100% about this, Swagger is relatively new for me.
I tried to generate a swagger spec which contains this sum type:
It generates something like this:
All the client generators that I tried so far were not able to reconstruct this to a proper union type. It's turned into an object with two optional properties. Like here in TypeScript
Do I miss something here or would that be an enhancement?
The text was updated successfully, but these errors were encountered: