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
Is your feature request related to a problem? Please describe.
When using API functions generated from this, I want to be able to also use the enum types. The enums are generated for models, but they should also be generated for operations too.
Describe the solution you'd like
Generate and use enum types in operations.
Describe alternatives you've considered
Just hard-coding the enum values when using operations, but that's not great.
chaayac
changed the title
[REQ] Use generated enums in operations for typescript-axios
[REQ] [typescript-axios] Use generated enums in operations
Sep 16, 2022
Is your feature request related to a problem? Please describe.
When using API functions generated from this, I want to be able to also use the enum types. The enums are generated for models, but they should also be generated for operations too.
Describe the solution you'd like
Generate and use enum types in operations.
Describe alternatives you've considered
Just hard-coding the enum values when using operations, but that's not great.
Additional context
e.g.
should be
The text was updated successfully, but these errors were encountered: