-
Hi Hyperfetch team! I’m a big fan of Hyperfetch—especially how lightweight and flexible it is for building typed API clients. I recently discovered the openapi-typescript tool, which auto-generates TypeScript types from OpenAPI specs. This has significantly improved type safety and developer experience in my projects. I’d love to know:
Thanks so much for all your hard work on Hyperfetch—I’d be happy to contribute or help test if it’s on the roadmap! ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
He @tzezar, I'm so happy you like the lib! As for the question: Currently we are offering the CLI which does exactly this! You can just run it to generate the Typescript SDK for your project! 🚀 I hope this will solve this challenge for you 😄 Let me know if I can help you more! |
Beta Was this translation helpful? Give feedback.
He @tzezar, I'm so happy you like the lib!
As for the question: Currently we are offering the CLI which does exactly this!
https://hyperfetch.bettertyped.com/docs/cli/generate
You can just run it to generate the Typescript SDK for your project! 🚀
Here is more about the SDK: https://hyperfetch.bettertyped.com/docs/core/sdk
If you're familiar with TRPC it works VERY similar and offers full E2E typesafety!
I hope this will solve this challenge for you 😄 Let me know if I can help you more!