-
-
Notifications
You must be signed in to change notification settings - Fork 481
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 is missing #1057
Comments
Correct. Explanation here as to why it was removed: https://github.com/drwpow/openapi-typescript/releases/tag/v6.0.0 |
@drwpow I just came across this change which makes it pretty hard to update to v6 if you dependent on the ApiPaths enum in you application. |
@drwpow Just wanted to ask again as I didn't got a response on my previous comment... |
@drwpow I took a closer look at the code and I think I understood why the option was removed... Nevertheless, I think it's important for some users to get the ApiPaths enum. That's why I have created a draft PR that brings back the generation of the ApiPaths enum: The PR is definitely just a draft and probably needs some improvements... |
After updating from
5.4.1
to6.x.x
the argument--make-paths-enum
is no longer working.As far as I can tell there is no way to get this functionality since the last update? This completely breaks this library for me making it unusable as I need path's as variables that I can actually use.
Is there a reason why this was removed or a way to enable it in the newer version?
The text was updated successfully, but these errors were encountered: