specforge for VS Code
Generate typed SDKs from OpenAPI specs directly in VS Code.
Features
- Generate SDK — Generate TypeScript, Go, or Rust SDK from your OpenAPI spec
- Check Spec — Lint and validate your OpenAPI spec
- Preview IR — View the resolved intermediate representation as JSON
Requirements
specforgebinary installed and on PATH (or configurespecforge.binaryPath)
Extension Settings
specforge.defaultLang— Default target language (ts/go/rust)specforge.outputDir— Default output directoryspecforge.binaryPath— Path to specforge binary
Usage
- Open a workspace with an OpenAPI spec (openapi.yaml or openapi.json)
- Run
Ctrl+Shift+P→ "specforge: Generate SDK" - Generated SDK appears in the output directory