@hey-api/openapi-ts

🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
127,850,437 5,511
Install
npm install @hey-api/openapi-ts
Latest Version:0.99.0
Vue:3
License:MIT
Last Updated:Sep 30, 2026
Links: GitHub  ·  npm
Maintainer: mrlubos
Hey API

Hey API

"OpenAPI codegen that just works."
— Guillermo Rauch, CEO of Vercel

DevTrends badge for @hey-api/openapi-ts DevTrends badge for @hey-api/openapi-ts CI status GitHub stars MIT License

Manual  •  Issues  •  Contribute

About

Hey API is an ecosystem for turning API specifications into production-ready code. It's trusted by thousands of companies – from YC startups to Fortune 500 enterprises – and powers products used by millions worldwide.

This is the monorepo containing all open source Hey API packages. For package-specific documentation and quick start guides, see the individual repositories below.

Packages

Package Description
openapi-ts TypeScript code generator with 20+ plugins for SDKs, Zod schemas, TanStack Query hooks, and more.
Manual  •  npm
openapi-python Python code generator for SDKs and Pydantic models.
Manual  •  npm

Highlights

  • production-grade code that compiles
  • runs in any Node.js 22+ environment
  • accepts any OpenAPI specification
  • core plugins for SDKs
  • HTTP clients for Fetch API, Axios, Angular, Next.js, Nuxt, HTTPX, and more
  • Zod schemas, TanStack Query hooks, Pydantic models, and 20+ plugins to reduce third-party boilerplate
  • highly customizable via plugins

Libraries

Package Description
spec-types TypeScript definitions for OpenAPI and JSON Schema specifications with complete inline documentation.
npm

Contributing

Want to see your code in products used by millions?

Start with our Contributing guide and release your first feature.

Sponsors

Partners behind the future of API tooling. Become a sponsor.

Gold

Opencode logo
The open source coding agent.
opencode.ai

Silver

FastAPI logo
fastapi.tiangolo.com
Unblocked logo
getunblocked.com

Bronze

Kinde logo Photon logo

License

Released under the MIT License.

Related Packages

@ohos-ports/openapi-ts

🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, Tan...

0 6
@hey-api/nuxt

🚀 Nuxt module for `@hey-api/openapi-ts` codegen.

71,945 5,513
@mergehez/dokie-node

A Node.js package for serving the Dokie API documentation UI across generic serv...

767 22
orval

A swagger client generator for typescript

62,343,424 6,552
vue-api-kit

A powerful and flexible API client for Vue 3 applications, built with TypeScript...

4,533 3

Version History

Version Released License
0.99.0 MIT
0.98.2 MIT
0.98.1 MIT
0.98.0 MIT
0.97.3 MIT
Pre-releases (477)
Version Released License
0.0.0-next-20260930190945 MIT
0.0.0-next-20260824173136 MIT
0.0.0-next-20260819153534 MIT
0.0.0-next-20260813201118 MIT
0.0.0-next-20260811214609 MIT