# ferdikoomen/openapi-typescript-codegen

NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

Repository: https://github.com/ferdikoomen/openapi-typescript-codegen
Canonical: https://ross.abutalabs.com/products/openapi-typescript-codegen
Language: TypeScript
License: MIT
License Family: permissive
Topics: openapi, swagger, codegen, generator, typescript, javascript, nodejs, angular, axios
Last push: 2026-08-07T21:41:13+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 65, longevity 100
- inputs: {"age_days": 2493, "days_push": 26, "days_rel": 74, "gap_med": 180, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3368, forks 546 (observed 2026-08-28T04:07:58.325367+00:00)

## What it is
A Node.js library and CLI that generates TypeScript or JavaScript API clients from OpenAPI (Swagger) v2/v3 specifications, supporting fetch, node-fetch, axios, Angular, and XHR HTTP clients. The project is now unmaintained and users are directed to migrate to its maintained fork, @hey-api/openapi-ts.

## Use cases
- generate typescript client from openapi spec
- generate api client from swagger json
- create axios client from openapi yaml
- generate typed fetch client for my api
- avoid java openapi codegen in frontend builds
- generate angular services from openapi specification

## When to choose
- you are already using it in an existing project and cannot migrate yet
- you need a lightweight, framework-agnostic OpenAPI client generator without Java tooling

## When to avoid
- starting a new project - use the maintained fork @hey-api/openapi-ts instead
- you need bug fixes, new OpenAPI 3.1 features, or long-term support

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, cli, parser
- domain: web-development, frontend, apis, developer-tools
- platform: cli, cross-platform
- tags: openapi, swagger, typescript-client, api-client-generator, deprecated, hey-api-migration, codegen, nodejs

## Member repositories
- ferdikoomen/openapi-typescript-codegen (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:58.325367+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:39:58.650012+00:00, confidence not recorded.
  - readme: https://github.com/ferdikoomen/openapi-typescript-codegen (fetched 2026-08-28T04:07:58.325367+00:00, sha 0b77ef706a40)
- Data as of 2026-08-30T08:39:29.467469+00:00.
