delimit_diff_report
Generate a shareable API diff report combining diff, policy checks, semver analysis, spec health, and migration guide for team review, PRs, or compliance records.
Instructions
Generate a shareable API diff report with full analysis.
When to use: when a team needs a shareable artifact (API review, PR comment, compliance record) — runs diff + policy + semver + spec health + migration guide. When NOT to use: for a CI gate verdict (use delimit_lint) or raw diff data (delimit_diff).
Sibling contrast: delimit_lint enforces; delimit_diff is raw; this is the presentable composite report.
Side effects: read-only on inputs. When output_file is provided, writes the rendered HTML/JSON to disk. The HTML has inline CSS — no external dependencies, opens in any browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_spec | Yes | Baseline OpenAPI spec path. | |
| new_spec | Yes | Proposed OpenAPI spec path. | |
| output_format | No | "html" (default) or "json". | html |
| output_file | No | Optional path to write the report to disk. | |
| policy_file | No | Optional .delimit/policies.yml path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||