bones-schemagen

command
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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/...`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL