Turn any OpenAPI specinto a typed TypeScript SDK.
One command. Full type safety. Zero config. No Java runtime. Works with any backend — FastAPI, NestJS, Rails, Go, or anything with an OpenAPI spec.
Features
Your spec already defines the contract.
The generator reads it, produces a typed SDK, and keeps it in sync. No manual wiring.
01
Every response typed. Every request validated.
The generated SDK infers types directly from your OpenAPI spec. Response bodies, request inputs, query params — all fully typed. Returns FetchResponse<T> with error-as-value pattern via isOk/isErr.
02
Security schemes become typed auth strategies.
OpenAPI security schemes — bearer, basic, apiKey, OAuth2 — are parsed and wired into the generated client as typed ClientAuth. No manual auth setup. Just pass credentials, headers are set automatically.
03
Zod schemas from your spec. Opt-in.
Pass --schemas and get Zod validation schemas generated alongside your types. Validate user input before it hits the API. Catch bad data at the boundary, not in production.
04
FastAPI, NestJS, Rails — or anything with a spec.
Built-in adapters handle operationId quirks for common frameworks. Or point at any OpenAPI 3.x spec — JSON or YAML, file or URL. The generator normalizes everything into clean method names.
05
API changed? TypeScript catches it.
Re-run the generator after a spec update. TypeScript immediately flags every call site that needs updating. Breaking changes caught at compile time — not at 3 AM in production.
Why generate?
Zero-config generation
No Java runtime. No YAML templates. No plugin system to learn. Point at a spec, get a typed SDK. One dependency, one command.
Incremental & non-destructive
Only writes files that actually changed (SHA-256 comparison). Cleans up stale files automatically. Safe to run on every CI build.
Agent-ready
Feed the generated SDK to an LLM agent. It gets autocomplete, type errors, and validated inputs. No hallucinated endpoints. No wrong parameter names.
Before / After
Stop writing boilerplate.
Replace hand-written fetch calls with a generated, typed SDK — fewer lines, full type safety, built-in auth.
Before
After
Get started in one command.
Point at your OpenAPI spec. Get a typed SDK. No install required — npx runs it directly.