-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Upgrade to v.0.26.0 of openapi-typescript-codegen #42
Comments
@7nohe is there any reason this has not been done? If not would you accept a PR? |
I tried upgrading to v0.26.0 once, but it was failing the Windows test, so I reverted back to v0.25.0. It seems that v0.27.0 has been released, so I would like to try it again. |
I created a PR, but the Windows test still failed. |
@7nohe I'm a bit unsure how windows handles a |
What happens if you change |
@AnderssonPeter I tried it, but it didn't work. |
@7nohe I tried to run it locally and the file does not exist in the location that it looks for it. |
Adding the following seems to solve the issue
What side effects it would have i don't know. My guess is that the issue is that |
@7nohe using https://github.com/nicolas-chaulet/openapi-typescript-codegen instead might solve this issue, and add support for the date type. |
Thank you for the suggestion. I've been considering that relying on external libraries for client code generation might not be ideal, so I am exploring the possibility of creating my own. |
I haven't tested but it should be fairly compatible as it's a fork. |
@7nohe They released a new version of openapi-typescript-codegen 0.28.0 that should resolve the windows issue, but i would still prefer the fork as it handles dates. |
@AnderssonPeter Thank you for letting me know about the new release. I will try upgrading to the new version. The fork project you told me about seems to have been renamed to @hey-api/openapi-ts and is well-maintained, so I'm thinking of switching to it. |
Opened PR using the @hey-api/openapi-ts |
@7nohe are there any plans to enable the https://heyapi.vercel.app/openapi-ts/transformers.html#dates function when |
@AnderssonPeter It looks possible, so I would appreciate it if you could create a new issue. |
Hi,
A new version of openapi-typescript-codegen is available (v.0.26.0), which includes upgraded dependencies. This update specifically addresses a warning related to deprecated usage of json-schema-ref-parser.
Previously, the codebase was triggering the following warning:
npm WARN deprecated json-schema-ref-parser@9.0.9: Please switch to @apidevtools/json-schema-ref-parser
Best regards,
André
The text was updated successfully, but these errors were encountered: