delimit_lint
Lint two OpenAPI specs to detect breaking changes and policy violations before merging. Combines diff and policy into a pass/fail verdict.
Instructions
Lint two OpenAPI specs for breaking changes and policy violations.
When to use: as the primary CI gate before merging API spec changes — combines diff + policy into a pass/fail verdict. When NOT to use: for raw change data (use delimit_diff) or quality scoring (delimit_spec_health).
Sibling contrast: delimit_diff returns changes only; delimit_diff_report renders HTML; this enforces policy.
Side effects: writes evidence on breaking findings; auto-chains semver classification and governance evaluation. dry_run=True suppresses evidence, notifications, and governance — returns violations + semver only.
Spec args accept local paths or http(s) URLs. URLs are fetched once into a tempfile (size cap, SSRF guard).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_spec | Yes | Path or URL to the baseline spec. | |
| new_spec | Yes | Path or URL to the proposed spec. | |
| policy_file | No | Optional .delimit/policies.yml path. | |
| dry_run | No | If True, return violations + semver without side effects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||