Documentation
¶
Overview ¶
Command bones-schemagen reflects the typed payload structs in cli/schemas and emits one JSON Schema file per verb under the configured output directory (default: schemas/ at the repo root).
The generator is the source-of-truth pipeline for ADR 0053. CI gates drift between the reflected output and the checked-in files via `make schemas-check`.
Invocation:
go run ./cmd/bones-schemagen -out ./schemas
Or, equivalently, via `go generate ./cli/schemas/...`.
Click to show internal directories.
Click to hide internal directories.