apiome compat
Global options such as --base-url, --tenant and --json go before the command — see CLI reference. Exit codes are listed in Exit codes.
apiome compat
Compare two revisions: oasdiff evidence, or the native check graded by compatibility mode.
apiome compat [OPTIONS] COMMAND [ARGS]...
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--project | text | yes | Project UUID or slug. | |
--version | text | yes | Head / candidate version (UUID, slug, or label). | |
--base-version | text | yes | Baseline version (UUID, slug, or label) to compare against. | |
--format | text | json | Gate output format: json (default), sarif, or junit. | |
--fail-on | text | breaking | Exit non-zero when findings at this level or higher are present: breaking (default), dangerous, or info. | |
--mode | text | project policy | Use the native check graded by this compatibility mode: backward, forward, full or none (optionally with _transitive). JSON output only. | |
--transitive / --no-transitive | flag | project policy | Use the native check, also comparing against every earlier version of the base. | |
--category | text | project policy | Use the native check with this Protobuf category: wire, wire_json, package or file. |