feat: add OpenAPI TypeScript client generation setup

Add openapi-typescript devDependency and npm scripts for generating
typed TypeScript schema from the FastAPI OpenAPI spec. Include a
static openapi.json snapshot for offline generation.

- npm run generate: fetch schema from running backend and generate types
- npm run generate:local: generate types from the bundled openapi.json

Closes leeworks-agents/SPARC#26

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
agent-company
2026-03-26 10:26:06 +00:00
parent 55c131cb32
commit 7a364e6736
2 changed files with 1089 additions and 0 deletions
File diff suppressed because it is too large Load Diff