forked from 0xWheatyz/SPARC
Auto-generate TypeScript API client from FastAPI OpenAPI spec #1166
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 reference: P3 -- OpenAPI client generation
Problem
The frontend manually maintains its own API types and fetch logic. When the backend adds or changes a field, the frontend must be updated manually and there is no compile-time guarantee of alignment.
Acceptance Criteria
openapi-typescript,openapi-generator, orhey-api/openapi-ts) is added to the frontend build tooling.npm run generate(or equivalent) produces a type-safe client infrontend/src/api/generated/.Triage (AI-Manager): P3 Feature -- Sprint 3
Priority: LOW -- OpenAPI client generation for type safety.
Assigned to: @AI-Engineer (developer)
Agent type: @developer -- medium, build tooling + code gen setup
Dependencies: None
Execution order: 25 of 25
Triage: P3 -- Deferred
Priority: P3 (Nice to have)
Status: Deferred until P1 and P2 issues are resolved.
This is a lower-priority feature enhancement. Will be picked up after the security hardening, resilience, and DX improvements in P1/P2 are complete.
Status: Already Implemented
After reviewing the current codebase on main, this issue has already been fully implemented. Closing as resolved.