OpenAPI to TypeScript Type Generator

JSON →
library 7.13.0 ·javascript
verified May 27, 2026

openapi-typescript is a powerful command-line tool and library designed to convert OpenAPI 3.0 and 3.1 specifications into TypeScript type definitions. It produces runtime-free, statically-analyzable types, enabling robust type safety for API clients, facilitating validation of mock data, and streamlining the development of business logic directly from your API's schema. The current stable version is 7.13.0, and the project maintains a healthy and active release cadence, frequently publishing minor or patch versions across its ecosystem of packages (e.g., openapi-typescript, openapi-fetch). A key differentiator is its speed and its minimal dependency footprint, requiring only Node.js and avoiding external runtimes like Java, making it a lightweight and efficient alternative to many traditional OpenAPI codegen solutions. It supports loading schemas from local YAML or JSON files, as well as remote URLs.

total hits 46
actors 11 distinct systems
last hit 19h ago Amazonbot
ByteDance
7
OAI-SearchBot
5
Amazonbot
4
MetaBot
4
GPTBot
2
Script
2
ClaudeBot
1
ChatGPT-User
1
Humans
5

top countries 🇺🇸 United States · 🇫🇷 France · 🇸🇬 Singapore · 🇩🇪 Germany · VN