openapi-ts/openapi-typescript
Generate TypeScript types from OpenAPI 3 specs observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 99
- Release rhythm 58
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2820
- days_rel: 203
- days_push: 7
- n_releases_24m: 86
Adoption not part of the score
8333 stars · 661 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A monorepo of tools for consuming OpenAPI schemas in TypeScript, centered on openapi-typescript which converts OpenAPI 3.0/3.1 specs into static TypeScript types, plus openapi-fetch for type-safe fetching. It generates zero-runtime-cost type definitions that work with any framework or stack.
Use cases
- generate TypeScript types from an OpenAPI 3 spec
- convert swagger yaml to .d.ts type definitions
- type-safe API client generated from OpenAPI schema
- keep frontend types in sync with backend API spec
- typecheck API responses against OpenAPI schema
- generate types for OpenAPI 3.1 schemas
When to choose
- you have an OpenAPI/Swagger spec and want static TypeScript types with zero runtime overhead
- you want type-safe fetch calls derived directly from your API schema
- you need a framework-agnostic codegen that works with any TypeScript stack
When to avoid
- you want a full runtime SDK with validation and retries rather than just types
- your API has no OpenAPI specification to generate from
- you need runtime request/response validation, which this tool does not provide
Facets
library · maturity stable
sdk developer-tools http-client developer-tools apis web-development frontend backend cross-platform openapi swagger type-generation codegen type-safety api-client code-generation nodejs typescript
3 sources
- readme: https://github.com/openapi-ts/openapi-typescript · fetched 2026-08-28 · c566c5171285
- homepage: https://openapi-ts.dev · fetched 2026-08-29 · edc200d55224
- registry_npm: https://registry.npmjs.org/openapi-typescript · fetched 2026-08-29 · e461d23412eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openapi-ts/openapi-typescript | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="openapi-ts/openapi-typescript")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem