Check that your schema operations have SDL descriptions. Compares against the most recent snapshot to detect regressions only — new operations missing descriptions or existing descriptions that were removed.Documentation Index
Fetch the complete documentation index at: https://docs.usedino.dev/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--tenant | string | — | Required. Tenant ID (or set in .dino.yml) |
--env | string | Tenant default | Target environment |
--format | "markdown" | "json" | "markdown" | Output format |
--quiet | boolean | false | Suppress stdout output |
--snapshot-dir | string | .dino/snapshots | Directory for reading and writing snapshots |
--fail-on-undocumented | boolean | false | Exit with code 1 if description regressions are found |
How It Works
- Discover — Introspects the live API schema
- Load baseline — Reads the most recent snapshot from disk
- Audit — Compares current descriptions against the baseline
- Save snapshot — Writes the current schema as the new baseline
- Report — Outputs coverage stats and any regressions
| Category | Meaning |
|---|---|
| New undocumented | Operations added since the last snapshot that have no SDL description |
| Description removed | Operations that previously had a description but no longer do |
| Description added | Operations that gained a description since the last snapshot |
On the first run (no previous snapshot), the command saves a baseline, reports current coverage, and exits with code 0. No regressions are possible without a baseline.
Examples
Check description coverage
CI gate for documentation
1 when new undocumented operations are introduced or existing descriptions are removed. Use this to enforce documentation standards in CI.
JSON output
Exit Codes
| Code | Meaning |
|---|---|
0 | No regressions, first run (baseline saved), or --fail-on-undocumented not set |
1 | Regressions detected with --fail-on-undocumented, or command error |
Related
dino diff— Schema change detectiondino scan— Full pipeline rundino changelog— API changelog from schema diffs