Beta
TypeScript SDK Generation
Automated publishing. Stays in sync forever.
From OpenAPI spec to published npm package in three steps.
Point code-forge.net at your OpenAPI document via a GitHub repository URL or a direct link.
The platform runs the-codegen-project CLI and produces a fully-typed TypeScript client SDK.
The generated SDK is versioned and published to npm. Every spec change triggers a new release.
Your OpenAPI definition becomes a production-ready TypeScript client with zero boilerplate.
paths:
/users/{id}:
get:
operationId: getUser
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/User'import { ApiClient } from './generated-sdk';
const client = new ApiClient({
baseUrl: 'https://api.example.com',
timeout: 5000,
retry: { attempts: 3, backoff: 'exponential' }
});
// Fully typed response
const user = await client.getUser({ id: '123' });
// ^? { id: string; name: string; email: string }Full TypeScript types inferred from schema
Configurable base URL, timeout, and retry logic
Zero runtime dependencies in the generated output
Published to npm with semantic versioning
Connect your GitHub repository once. Every merge to your default branch that touches the OpenAPI spec triggers a regeneration and a new npm publish.
Open Source
code-forge.net is the hosted platform layer on top of the open-source the-codegen-project CLI. You can run the same generator locally or in CI without an account.
the-codegen-project/cli
View on GitHub
Sign in with GitHub and connect your first OpenAPI spec. No credit card required.