delimit_lint
Compare and lint two OpenAPI specs for breaking changes and policy violations. Use dry run to preview violations without side effects.
Instructions
Lint two OpenAPI specs for breaking changes and policy violations. Primary CI integration point. Combines diff + policy into pass/fail. Auto-chains: semver classification, governance evaluation on breaking changes.
When dry_run=True, returns violations and semver classification without recording evidence, triggering notifications, or enforcing governance. Useful for CI preview comments ("what would block") without side effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_spec | Yes | Path to the old (baseline) OpenAPI spec file. | |
| new_spec | Yes | Path to the new (proposed) OpenAPI spec file. | |
| policy_file | No | Optional path to a .delimit/policies.yml file. | |
| dry_run | No | If True, return violations without side effects (no evidence, no chains). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||