@hey-api/openapi-ts

v0.53.10
Turn your OpenAPI specification into a beautiful TypeScript client
angular axios codegen fetch generator http javascript json node and 7 more...

Logo

OpenAPI TypeScript

🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.

Live demo

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

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.

npm i @hey-api/[email protected]

Metadata

  • FSL-1.1-MIT
  • ^18.0.0 || >=20.0.0
  • Lubos Menus
  • released 10/11/2024

Downloads

Maintainers