forked from 0xWheatyz/SPARC
Feature: Auto-generate TypeScript API client from FastAPI OpenAPI spec #489
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Roadmap item: P3 - OpenAPI client generation
Description
The frontend manually maintains API call code that can drift from the backend schema. Auto-generating the TypeScript client from the FastAPI OpenAPI spec would keep frontend types in sync automatically.
Task
openapi-typescriptoropenapi-generatorstep to the project.GET /openapi.json.Acceptance Criteria
Already implemented. TypeScript API client generation from OpenAPI spec exists with
openapi-typescriptinfrontend/package.json. CI workflow verifies generated types are up to date. Merged via PR #443. Closing as completed.