Repository navigation
Description
Summary
ADR 0029 (#1089) maintains Express, Hono, and FastAPI as three framework-specific API templates in standalone repositories. #332 covers Express and #1152 covers Hono. This ticket covers FastAPI.
Extract templates/fast-api/ into common-grants/cg-api-template-fastapi under the common-grants org, following the existing common-grants/cg-api-template-hono template repository, and refresh it against supported published packages: it currently pins common-grants-sdk ^0.4.0 against a published 0.8.1. The migration is not a copy. The template must pass its replacement checks before the monorepo copy is removed (see the [Monorepo] Remove the root templates/ ticket).
Implement ADR 0029 Decisions #3–5 for FastAPI, including the standalone-template support contract. Hono's automation is a useful reference. Define the supported SDK range and record the checks that verify it before removing the monorepo copy. Automated contract validation is tracked in #1239 and does not gate removal.
Licensing: the monorepo is a US government work under CC0 1.0. Carry that dedication with the extracted code and add no new copyright claim; templates/fast-api/pyproject.toml declares no license today, so set it explicitly.
Acceptance criteria
- Implement ADR 0029 Decisions Summarize grant protocol research #3–5 for FastAPI in
common-grants/cg-api-template-fastapi, including a directly usable GitHub template and the shared support contract - Document the supported SDK range and record passing tests covering that support claim; a latest-stable probe alone is not support-range evidence
- Generate OpenAPI and run
cg check speconce; record the output with findings bucketed as checker defects ([CLI] Fix howresolveAnyOf()incg check specworks #735) or nullability drift ([Core] Resolve opportunity API nullability mismatches between SDKs and protocol #1192) - Preserve the extracted code's CC0 1.0 dedication and set an explicit license field
- Record replacement-verification results on this issue for the monorepo-removal ticket
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity