openapi-typescript
Radar: Initial
MIT
Generates TypeScript types directly from an OpenAPI description — types only, no client runtime and no generated transport code.
OpenAPI
Specifications it implements
What this tool does to each specification, in the role vocabulary. Follow a standard through to standards.apievangelist.com for what it actually specifies.
| Standard | Role | What that means |
|---|---|---|
| OpenAPI | generates |
Produces: types |
Using this from an agent
- Interfaces
clilibrary- Install
-
npm
openapi-typescript - Invoke
npx openapi-typescript <spec.yaml> -o <schema.d.ts>- Consumes
- openapi
- Emits
- typescript
- Runtime
- Runs offline Deterministic Writes No credentials
Where it applies
Jobs this tool actually does, and the surface each one is exercised on.
Get compile-time safety against an API contract without adopting a generated SDK.
coding-agent
Often the right choice for an agent over a full SDK generator — one file, no runtime dependency, and the diff is reviewable.
Detect a breaking provider change as a type error in CI rather than at runtime.
ci-pipeline
- Website
- https://openapi-ts.dev
- Repository
- https://github.com/openapi-ts/openapi-typescript
- License
- MIT — reported by the GitHub API, verified 2026-08-11
- Stars
- 8297 · last commit 2026-08-09
Reading this as an agent? Don't scrape the page — this entry is published as
structured data at
arrow_back
All tools by adoption
/tools.json,
against the tool.schema.json
schema, using the roles.json
vocabulary. Start at /llms.txt.