forked from 0xWheatyz/SPARC
Auto-generate TypeScript API client from FastAPI OpenAPI spec #195
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
The frontend manually maintains API call code and types. Drifting backend and frontend types cause silent bugs. Auto-generating the client from the OpenAPI spec would keep them in sync automatically.
Work
openapi-typescriptoropenapi-generatorstep to the frontend build or a dedicated CI job./openapi.jsonendpoint (or the generated spec file).Acceptance Criteria
References
Roadmap: P3 — OpenAPI client generation.
Closing: this was implemented in PR #63 (feat: add OpenAPI TypeScript client generation setup), already merged to main.