Expand description
OpenAPI spec generation for Gize (ADR-010).
The spec is generated from the manifest (gize.toml) — the same source of truth the
CRUD, auth and admin generators use — so it matches the generated routes by construction
rather than by hand-kept annotations. Output is an OpenAPI 3.0.3 document as
serde_json::Value; the CLI writes it to openapi.json and the app serves it.
Functions§
- operations
- The set of
(method, path)operations Gize generates for a module. Used both to build the spec and by the parity test that checks the spec against the router. - spec_
json - Render the full OpenAPI document for a project from its manifest.