Awesome
<div align="center"> <img width="150" height="150" src="https://heyapi.dev/logo.png" alt="Logo"> <h1 align="center"><b>OpenAPI TypeScript</b></h1> <p align="center">🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.</p> </div>Features
- works with CLI, Node.js 18+, or npx
- supports OpenAPI 2.0, 3.0, and 3.1 specifications
- supports both JSON and YAML input files
- generates TypeScript interfaces, REST clients, and JSON Schemas
- Fetch API, Axios, Angular, Node.js, and XHR clients available
- plugin ecosystem to reduce third-party boilerplate
Documentation
Please visit our website for documentation, guides, migrating, and more.
Sponsoring
Love Hey API? Please consider becoming a sponsor.
GitHub Integration (coming soon)
Automatically update your code when the APIs it depends on change. Find out more.
Migrating from OpenAPI Typescript Codegen?
Please read our migration guide.
Contributing
Want to get involved? Please refer to the contributing guide.