Compare your current API schema against the last saved snapshot. Reports added, removed, modified, and breaking changes. UseDocumentation Index
Fetch the complete documentation index at: https://docs.usedino.dev/llms.txt
Use this file to discover all available pages before exploring further.
--fail-on-breaking to gate CI pipelines.
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-breaking | boolean | false | Exit with code 1 if breaking changes are detected |
How It Works
- Discover — Introspects the live API schema
- Build snapshot — Creates a snapshot of the current schema
- Load previous — Reads the most recent snapshot from disk
- Diff — Compares previous vs. current and categorizes changes
- Save — Writes the current snapshot as the new baseline
Examples
Check for schema changes
CI gate for breaking changes
1 if any breaking changes are detected. Use this in CI to block deployments that introduce breaking API changes.
JSON output for tooling
Exit Codes
| Code | Meaning |
|---|---|
0 | No breaking changes (or --fail-on-breaking not set) |
1 | Breaking changes detected with --fail-on-breaking, or command error |
Related
dino scan— Full pipeline run (also saves snapshots)dino changelog— Changelog from the same diff datadino lint— Audit SDL description coverage