# openapi-typescript

Command-line tool and library that generates TypeScript types from OpenAPI 3.0 and 3.1 schemas.


Source: https://findsoftware.frbit.cloud/openapi-typescript/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://openapi-ts.dev/
- repository: https://github.com/openapi-ts/openapi-typescript
- docs: https://openapi-ts.dev/introduction

### Identity

- status: active
- maintainer: Drew Powers
- maintainerType: unknown
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: dev-tool
- hosting: not applicable
- language: javascript
- runtime: node
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: local
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 7
- latestReleaseDate: 2026-02-11

### Adoption

- githubStargazers: 8439
- packagistDownloads: not applicable
- npmWeeklyDownloads: 16155192
- contributors: 240
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 8379
- dependentPackages: 374

### Sources

- urls: https://openapi-ts.dev/ (read 2026-11-16)
- urls: https://openapi-ts.dev/introduction (read 2026-11-16)
- urls: https://api.github.com/repos/openapi-ts/openapi-typescript (read 2026-11-16)
- maintainer: https://github.com/openapi-ts/openapi-typescript/blob/main/LICENSE (read 2026-11-16)
- firstRelease: https://api.github.com/repos/openapi-ts/openapi-typescript/releases (read 2026-11-16)
- category: https://openapi-ts.dev/ (read 2026-11-16)
- language: https://api.github.com/repos/openapi-ts/openapi-typescript (read 2026-11-16)
- runtime: https://openapi-ts.dev/introduction (read 2026-11-16)
- runsAs: https://openapi-ts.dev/introduction (read 2026-11-16)
- installMethod: https://openapi-ts.dev/introduction (read 2026-11-16)
- license: https://api.github.com/repos/openapi-ts/openapi-typescript (read 2026-11-16)
- licenseModel: https://openapi-ts.dev/introduction (read 2026-11-16)
- currentMajor: https://api.github.com/repos/openapi-ts/openapi-typescript/releases (read 2026-11-16)
- latestReleaseDate: https://github.com/openapi-ts/openapi-typescript/releases/tag/openapi-typescript@7.13.0 (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/openapi-ts/openapi-typescript (read 2026-11-16)
- contributors: https://api.github.com/repos/openapi-ts/openapi-typescript/contributors?per_page=1 (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/openapi-typescript (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/openapi-typescript (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/openapi-typescript (read 2026-11-16)

## Notes

openapi-typescript generates TypeScript types from an OpenAPI 3.0 or 3.1 schema, read from a local or remote JSON or YAML file. A project imports the generated types for its paths, parameters and responses. The project's homepage describes the output as static types with no runtime cost. The tool runs on Node.js from the command line while a project is developed, and nothing of it runs on the live site.

## Worth knowing

The Node.js version in the introduction is a recommendation of 20.x or higher, not a stated minimum. The repository holds more than one package, so its star count and contributor count cover all of them.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
