forked from 0xWheatyz/SPARC
Auto-generate TypeScript API client from FastAPI OpenAPI spec #1397
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?
Background
Roadmap item: P3 -- OpenAPI client generation
The frontend currently maintains its own hand-written API client types that can drift from the backend. Auto-generating the TypeScript client from the FastAPI OpenAPI spec keeps types in sync automatically.
Task
Acceptance Criteria
Reference
See ROADMAP.md section P3.
Resolved by PRs #443 and #63 (merged). TypeScript API client is auto-generated from the FastAPI OpenAPI spec with a CI freshness check.