-
-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--make-paths-enum generate enum with another paths #950
Comments
@drwpow or it can be customized by option... |
This makes sense to me! Thanks for making this change. |
@drwpow is it possible to release this in 5.x version? As I see this feature was totally removed in 6.x |
2 tasks
This was somewhat broken again?? @drwpow |
insertmike
referenced
this issue
Feb 13, 2025
…2052) * feat: brings back --make-paths-enum option to generate ApiPaths enum * chore: adds --make-paths-enum flag to cli docs * chore: adds minor changeset for * tests: adds tests for --make-paths-enum option and paths-enum.ts transformer
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, it generates
So I can't choose type:
As I see, that is why paths in
export interface paths {
andexport enum ApiPaths {
are different:https://github.com/drwpow/openapi-typescript/blob/a4e05fa005277ea1e42eb191921aae5d9f51293a/src/transform/paths.ts#L127-L128
@berzi hi! Could you answer if this change is needed?
The text was updated successfully, but these errors were encountered: