delimit_semver
Classifies semantic version bump (MAJOR, MINOR, PATCH, or NONE) by comparing old and new OpenAPI spec files. Optionally computes the next version string from an optional current version.
Instructions
Classify the semver bump for a spec change (MAJOR/MINOR/PATCH/NONE).
Deterministic classification based on diff engine output. Optionally computes the next version string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_spec | Yes | Path to the old OpenAPI spec file. | |
| new_spec | Yes | Path to the new OpenAPI spec file. | |
| current_version | No | Optional current version (e.g. "1.2.3") to compute next version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||