Closed Stono closed 2 weeks ago
This will be fixed as part of a broader parser release, thank you for your patience as always 🙏
No worries, thank you for saving me a load of time writing my own client gen 🤣
Hey, this is resolved in the experimental parser. You can read more about the parser in the release https://github.com/hey-api/openapi-ts/releases/tag/%40hey-api%2Fopenapi-ts%400.54.4
I don't remember which OpenAPI version you're on, the new parser works only with 3.0 and newer for now. Please let me know if you run into any issues!
Description
I have the following config:
And I'm using zod-openapi to define my DTO:
Which in turn gives me the correct swagger json:
However in my client gen, i'm still getting a type exported for that enum:
Interestingly it's inline (as i'd expect) but then status type is exported to (and not used anywhere)
Reproducible example or configuration
No response
OpenAPI specification (optional)
No response
System information (optional)
0.53.9