You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Console API: OpenAPI description from the route table #1759
#1753 (Spec: the Console API). Governing decision: ADR 0026.
What to build
The API publishes an OpenAPI description so scripts and agents can discover it. It is generated (for example with utoipa) from the same route table that pairs each route with its CLI twin. It is served at /api/v1/openapi.json, and a CLI twin prints it. Each operation lists its scope, its CLI twin and its JSON shape. Because it's generated from the table, routes added by later Tickets appear in it without extra work.
Acceptance criteria
/api/v1/openapi.json returns a valid OpenAPI document. Its CLI twin prints the same document and passes the parity test.
The parity test fails when the description and the routed /api/v1 endpoints differ (with a should-panic twin).
Every operation states its scope and its CLI twin.
Activity
JacobStephens2 commentedon Nov 5, 2026
Closed by #1779, merged into issue-1753 by a thirdshift Ticket run with Self-merge.