Add route catalog manifest generator

This commit is contained in:
jwinterm
2026-07-06 04:16:09 -04:00
parent 407d4d106a
commit 38d86adfbf
7 changed files with 200 additions and 10 deletions
+5
View File
@@ -207,9 +207,14 @@ The public schema is committed at `schemas/ampg.route-manifest.v1.schema.json`.
Applications can validate generated manifests before AMPG config parsing:
```sh
python3 tools/generate_route_manifest.py examples/route-catalog.json examples/route-manifest.json
python3 -m ampg route-manifest validate routes.json
```
`examples/route-catalog.json` is a neutral app-side input shape. Real framework adapters
can replace it with generated route data from the application's router, then emit the same
AMPG route-manifest contract.
```json
{
"schema": "ampg.route-manifest.v1",