Elestia Open Source Ratings
3.2

openapi-typescript

Keep, but not for new work. 9th of 9 OpenAPI tools.

openapi-typescript turns OpenAPI 3 specs into one fast, accurate TypeScript types file with no runtime cost. It was long the minimal default for that job. On 19 September 2026 its maintainer put it in maintenance mode, with no more updates and no security patches. It also fails on TypeScript 7, so new projects should pick Hey API or Orval instead.

Best for: Existing codebases on TypeScript 5 or 6 that already use it and need time to plan a migration.

WebsiteGitHubnpm

Scores

Overall3.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

It was an excellent minimal types generator, but it is now unmaintained by its author's own statement and it breaks on TypeScript 7. Keep it where it already runs on TypeScript 5 or 6, and plan to migrate. For new work, pick Hey API (which may gain a plugin with the same 1:1 type output) or Orval.

GPT-6.2 Sol: 3.4, likely 2.4 to 4.4

Existing projects can keep using the generator where the compiler and schema are already compatible. The end of updates and reported TypeScript 7 failures make it a poor choice for a new project. Hey API offers types and SDK generation, and Orval is a stronger fit when a team wants query hooks or mocks. The range reflects how much an existing workflow depends on newer compiler or OpenAPI features.

Needed by many5.6

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Many web and backend developers consume HTTP APIs described in OpenAPI and want types for them. This project covers only the types part of the category's job, not docs or full clients. That makes it a large but not universal group.

GPT-6.2 Sol: 5.1, likely 3.9 to 6.3

TypeScript teams working from an OpenAPI contract can use the generated types with any web framework. The audience narrows to teams with an existing spec that want types and can supply their own client and API docs. The developer survey measures TypeScript use, so it gives only an indirect estimate of demand for this workflow.

Helps a lot5.8

How well does it do the job for those who need it?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

On TypeScript 5 and 6, the generated types are accurate and fast, and the zero-runtime approach is well liked. It does not support TypeScript 7 because it relies on the compiler API at runtime, and no fix will come. Peers also do more: they generate SDKs, hooks and validators.

GPT-6.2 Sol: 6.5, likely 5.3 to 7.6

Version 7.13.0 generates path and operation types that developers and coding agents can check with the compiler, and its CLI documents how to detect stale output in CI. It was fast in one independent test, where it generated fewer artifacts than the other tools. Users report TypeScript 7 generator failures, and OpenAPI 3.2 coverage is incomplete. The exact cost depends on the compiler version and the schema features a team uses.

Holds up over time1.2

Will it still be a good choice in two years?

Claude Opus 5.5: 1.0, likely 0.0 to 2.0

The lead maintainer announced maintenance mode on 19 September 2026, with no updates and no security patches. The other maintainers cannot take it over, and funding on OpenCollective has been stopped. There is no official successor, and users are already migrating to Orval and Hey API.

GPT-6.2 Sol: 1.4, likely 0.6 to 2.3

The September 2026 announcement ended updates and security fixes, with no handoff planned. The generator last shipped in February, and the repository activity includes related packages. Existing generated types can stay in use, but the published generator will need workarounds as toolchains move on.

Used widely6.8

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has about 65M downloads in 4 weeks, up from 7.3M a year ago. That ratio of about 9 is well above the 4.1 median. Its 8,379 dependent repos are the most among the type-generator peers. Some downloads come from other tools that install it, and the shutdown has started migrations, so the trend is likely to turn.

GPT-6.2 Sol: 6.6, likely 5.1 to 7.9

The collector found 8,379 dependent repositories and 374 packages, a substantial footprint among the code generators with available counts. Four-week downloads rose from 7.3 million to 64.9 million, about 9 times year over year against a catalog baseline of 4.1 times. Automated and indirect installs make it hard to estimate how many new projects chose it, and the shared repository's stars also reflect sibling packages. A documented migration after the shutdown makes future reach less certain.

  • dependents repos and packages: ecosyste.ms found 8,379 repositories and 374 npm packages.
  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Recorded installs grew about 9 times against the catalog median of 4.1 times.
  • peers dependentRepos: Orval has 305 indexed repositories, Kubb has one, and Hey API has no count.
  • github stars and bluesky posts: 8,441 stars and seven Bluesky posts cover the shared repository.
  • github.com/bitfocus/companion/commit/d18d2fd6a4c10ed1e4a47765dced468f2d036b06: An established downstream project migrated off the package.
Vouched for5.9

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 7.0

It is widely used in production and features in many independent comparisons and benchmarks. Well-known developers such as TkDodo have engaged with its output format. These endorsements now matter less, because users are leaving it and comparisons published after the shutdown recommend other tools.

GPT-6.2 Sol: 6.8, likely 5.6 to 8.0

Supabase documents using it to generate Management API types for its CLI, and Octokit uses an older version to generate GitHub REST API definitions. An independent comparison also measured fast generation and compact output. These sources establish practical value, with less evidence about adoption or satisfaction since updates ended.

Safe5.3

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 3.0 to 6.0

There are no advisories, it has 6 dependencies, the code is mostly handwritten and the licence is MIT. However, any future vulnerability will not be patched. Because it is a build-time code generator, the risk is moderate rather than severe. No OpenSSF Scorecard is available.

GPT-6.2 Sol: 5.6, likely 4.1 to 7.0

The MIT-licensed generator has six direct dependencies, an automated publishing workflow, and zero direct advisories in the bundle. Its Redocly dependency pulled vulnerable YAML parser versions in older lockfiles, and later Redocly 1.x releases provide fixes. The generator runs at build time and upstream has ended security updates. Exposure depends on the resolved dependencies, and there is no Scorecard to corroborate repository controls.

Good

  • It produces a single, readable types file that maps 1:1 to the schema and adds no runtime code.
  • Independent benchmarks show it generating far faster than Hey API or Orval on large specs.
  • It has a small dependency footprint (6 dependencies), an MIT licence and no known advisories.
  • It is very widely adopted, with about 8,400 dependent repositories, so examples and AI-agent knowledge are plentiful.

Bad

  • Since September 2026 it is in maintenance mode, with no further updates or security patches.
  • It calls the TypeScript compiler API at runtime, so it does not work with TypeScript 7.
  • It only generates types, so clients, query hooks, validators and mocks need other tools.
  • The companion package openapi-fetch is also unmaintained, and users are already migrating to Orval and Hey API.

The numbers

npm downloads, 4 weeks
65M ×9.0 in a year
GitHub stars
8.4k
Commits, 12 months
183
npm version
7.13.0 Feb 2026
Versions, 12 months
2
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (openapi-ts/openapi-typescript), npm (openapi-typescript), OSV and the OpenSSF Scorecard.

OpenAPI tools

  1. 8.1Scalar
  2. 7.7Orval
  3. 7.3Swagger UI
  4. 7.1Hey API
  5. 6.9Kubb
  6. 6.9zod-to-openapi
  7. 6.7Spectral
  8. 6.7Redoc
  9. 3.2openapi-typescript
Compare all 9 on six scores