openapi-generator
openapi-generator copied to clipboard
typescript-node: Replace the deprecated request package with something else
The typescript-node generator generates code which is dependent on the request package. This package got deprecated in February this year. The proposal is to replace this package with something non-deprecated. Possible list of similar packages is mentioned at the below link. https://github.com/request/request/issues/3143
Ideally, the implementation of this package could support timeouts so users don't have to create setTimeout races :)
We are working on this migration now. Will try to get it back into project sometime in the new year.
Hi, any updates or ETA on this? Is any assist needed?
Hi, also looking forward to it! Any updates? The usage with React (e.g.) and new react-scripts and Webpack v5 is impossible when using an OpenAPI generated package, a lot of errors because of dependencies that are there just for the request
. Thanks!
@RSchneider94 You can use typescript-fetch or typescript-axios generators instead of this one, they are nodejs compatible.
Hello! Do you have a proposal which lib could/should be used instead of request? This way, someone from the community could implement it :)
Any update on this? We're working with a fork of typescript-node and looking at both typescript-fetch and typescript-axios, they're both structured significantly differently. Is there an eta on an updated typescript-node module?
are there any updates on this matter regarding typescript-node generator?