Skip to main content
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.

Usage

Flags

How It Works

  1. Discover — Introspects the live API schema
  2. Load baseline — Reads the most recent snapshot from disk
  3. Audit — Compares current descriptions against the baseline
  4. Save snapshot — Writes the current schema as the new baseline
  5. Report — Outputs coverage stats and any regressions
The audit tracks three categories:
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

Returns exit code 1 when new undocumented operations are introduced or existing descriptions are removed. Use this to enforce documentation standards in CI.

JSON output

Pair dino lint --fail-on-undocumented with dino diff --fail-on-breaking in your CI pipeline to catch both schema breakage and documentation regressions.

Exit Codes