genapi
Lightweight API code generator—only the code you need, nothing extra.
A lightweight API code generator that generates only the code you want from OpenAPI and other specs, with no bloat.
npx genapi init
- 🚀Multiple HTTP Clients
Support for axios, fetch, ky, got, ofetch, uni and more HTTP clients
- 🔄TypeScript/JavaScript
Generate both TypeScript and JavaScript API code
- 🛠️Flexible & Customizable
Flexible pipeline system for customizing the generation process
- 📋Multiple Data Sources
Support for OpenAPI 2.0/3.x, Swagger and other input sources