forked from 0xWheatyz/SPARC
Auto-generate TypeScript API client from FastAPI OpenAPI spec #1373
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
The frontend manually maintains TypeScript types and fetch calls that mirror the FastAPI API contract. Any backend change can silently break the frontend if types drift.
What to do
openapi-ts(oropenapi-generator) step to the frontend build or CI that generates a TypeScript client from the FastAPI/openapi.jsonendpoint.Acceptance criteria
[Repo Manager] This issue has already been resolved on the main branch. Verified by code inspection during triage. Closing.