- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Is your feature request related to a problem? Please describe.
There are consumers of this library that use enums, we have no tests or examples showing their generation/usage.
Describe the solution you'd like
A unit test or snapshot showing their creation.
Describe alternatives you've considered
None,
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Projects
Milestone
Relationships
Development
Select code repository
Activity
sschuberth commentedon May 12, 2024
I also struggle to get back the behavior from version 0.5.3 which e.g. generated
instead of version 1.3.0 now generating
Using
--enums typescript
does not seems to have any effect.Edit: Here's an excerpt from the used API spec:
sschuberth commentedon May 12, 2024
Maybe this could be related to hey-api/openapi-ts#547?
seriouslag commentedon May 12, 2024
That does seem related.
When they patch @hey-api/openapi-ts, we will need to write some tests to determine whether it is safe to update in the future.
There are lots of moving parts.
We would appreciate the help if you have time to write tests that satisfy your use case.
Maybe fallback to an old version of this library until the new release of @hey-api/openapi-ts
primeapple commentedon May 13, 2024
The new version 0.44.0 of openapi-ts fixes this problem and generates enums again.
fix(ui): Adapt the UI to a changed query client
fix(ui): Adapt the UI to a changed query client