2026-01-29 14:58:54 +00:00
|
|
|
# core build sdk
|
|
|
|
|
|
2026-01-29 16:17:00 +00:00
|
|
|
Generate typed API clients from OpenAPI specifications. Supports TypeScript, Python, Go, and PHP.
|
2026-01-29 14:58:54 +00:00
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
core build sdk [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Flags
|
|
|
|
|
|
|
|
|
|
| Flag | Description |
|
|
|
|
|
|------|-------------|
|
|
|
|
|
| `--spec` | Path to OpenAPI spec file |
|
2026-01-29 16:17:00 +00:00
|
|
|
| `--lang` | Generate only this language (typescript, python, go, php) |
|
|
|
|
|
| `--version` | Version to embed in generated SDKs |
|
|
|
|
|
| `--dry-run` | Show what would be generated without writing files |
|
2026-01-29 14:58:54 +00:00
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
core build sdk # Generate all
|
|
|
|
|
core build sdk --lang typescript # TypeScript only
|
|
|
|
|
core build sdk --spec ./api.yaml # Custom spec
|
|
|
|
|
core build sdk --dry-run # Preview
|
|
|
|
|
```
|