Expand description
Single-source API_ROUTES table and OpenAPI 3.1.0 document generator
(governed by rest-api-standards.sot.md RA-OAS-1..7).
Runtime GET /api/v1/openapi.json, CLI arks serve openapi, and the
published docs/assets/data/openapi.json artifact are all generated from
API_ROUTES and enforced byte-for-byte by unit tests.
Structs§
- ApiRoute
Def - Declarative API route definition driving OpenAPI 3.1.0 generation and route audits.
Enums§
- ApiSurface
- Server listener surface owning an API route (
x-arks-surface). - Release
Line - Release line availability of a route (
v1.0stays Kinetic-free).
Constants§
- API_
ROUTES - Single source of truth for
arks serveandarks hubdocumented REST operations.
Functions§
- openapi_
document - Generate the canonical OpenAPI 3.1.0 JSON document from
API_ROUTES. - openapi_
json_ pretty - Deterministic pretty-printed JSON string (with trailing newline) for CLI and drift tests.