@hyper-fetch/codegen-openapi
v6.0.0
Published
Hyper Fetch request code generator from OpenApi schema
Downloads
257
Readme
🪄 Hyper Fetch Openapi Request Generator
About
Hyper Fetch Generator-Openapi
is our request generator from openapi (V3) json schema. Just provide a file path or link and generate all the requests.
Features
✨ Generate code from OpenApi V3 schema - both types and actual requests. ✨ Flexible - after generation you can edit Hyper Fetch client and all related requests. ✨ No additional boilerplate - if you know Hyper Fetch, you don't need anything else. ✨ Simplicity:
npx @hyper-fetch/codegen-openapi --schema https://petstore3.swagger.io/api/v3/openapi.json
...and it works! All code generated and ready to use.
Help us keep working on this project ❤️
Sources
Disclaimer
This package is heavily inspired by Openapi Client Axios.
Thanks anttiviljami
for all his hard work!