OpenAPI Breaking-Change Diff avatar

OpenAPI Breaking-Change Diff

Pricing

from $5.00 / 1,000 results

Go to Apify Store
OpenAPI Breaking-Change Diff

OpenAPI Breaking-Change Diff

Deterministic OpenAPI 3.0/3.1 breaking-change detector. Compares two spec URLs or monitors a single spec against a persisted Apify Named Key-Value Store snapshot, outputting structured diffs and a Markdown release digest.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

B2B Tool Studio

B2B Tool Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 hours ago

Last modified

Features

Limited permissions

Share

OpenAPI Changelog & Breaking-Change Diff Monitor

Deterministically diff OpenAPI 3.0 & 3.1 specifications (YAML or JSON), detect breaking schema/auth/parameter regressions with $ref resolution, track live spec drift via Apify Key-Value Store snapshots, and output GitHub PR Markdown comments + SARIF 2.1.0 security/CI reports.

Built by B2B Tool Studio for API platform teams, CI/CD release gates, SDK maintainers, and AI developer agents. Zero LLM dependencies, 100% deterministic.


Why Use This Instead of Manual Spec Reviews?

  • YAML + JSON Auto-Parsing: Fetches remote .yaml, .yml, or .json OpenAPI 3.0/3.1 specs seamlessly.
  • Recursive $ref & Schema Diffing: Resolves local #/components/... pointers with cycle protection and catches:
    • PATH_REMOVED, METHOD_REMOVED
    • PARAM_REMOVED, PARAM_BECAME_REQUIRED, REQUIRED_PARAM_ADDED
    • REQUIRED_BODY_ADDED, REQUIRED_FIELD_ADDED
    • RESPONSE_REMOVED, RESPONSE_PROPERTY_REMOVED, RESPONSE_TYPE_NARROWED, ENUM_VALUE_REMOVED
    • AUTH_REQUIRED_ADDED, AUTH_SCHEME_REMOVED
  • CI/CD & DevSecOps Outputs: Generates recommendedSemverBump (major / minor / none), markdownDigest, GitHub-ready PR_COMMENT.md, and SARIF_REPORT.json in the Key-Value Store.
  • Stateful Drift Monitoring: Leave baseSpecUrl empty to compare against the previous snapshot stored in a named Apify Key-Value Store (openapi-snapshots).
  • Spend-Cap Safe: Honors maxTotalChargeUsd before pushing dataset items.

Input Parameters

FieldTypeDefaultDescription
targetSpecUrlstringPetstore v3 JSONURL of the new/current OpenAPI 3.0/3.1 spec (YAML or JSON).
baseSpecUrlstringPetstore v3 JSONOptional baseline spec URL. Leave empty to diff against stored KVS snapshot.
snapshotStoreNamestring"openapi-snapshots"Named Apify Key-Value Store for drift snapshots.
saveSnapshotbooleanfalseSave targetSpecUrl as the new baseline snapshot.
outputModestring"summary""summary" (1 item) or "per-change" (summary + 1 item per change).

Example Output (Summary Record)

{
"recordType": "diff_summary",
"baseTitle": "Swagger Petstore - OpenAPI 3.0",
"baseVersion": "1.0.27",
"targetTitle": "Swagger Petstore - OpenAPI 3.0",
"targetVersion": "1.0.27",
"compatibilityStatus": "BREAKING",
"recommendedSemverBump": "major",
"hasBreakingChanges": true,
"breakingCount": 2,
"nonBreakingCount": 1,
"totalChanges": 3,
"changes": [
{
"classification": "BREAKING",
"severity": "HIGH",
"category": "ENUM_VALUE_REMOVED",
"location": "GET /pet/findByStatus (query:status)",
"message": "Removed enum value \"pending\""
}
]
}

AI Agent & MCP Integration

{
"mcpServers": {
"apify": {
"command": "npx",
"args": ["-y", "@apify/actors-mcp-server", "--actors", "b2btoolstudio/openapi-changelog-breaking-diff"],
"env": { "APIFY_TOKEN": "your_apify_token" }
}
}
}

Node.js / GitHub Actions Usage

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('b2btoolstudio/openapi-changelog-breaking-diff').call(
{
baseSpecUrl: 'https://api.example.com/v1/openapi.yaml',
targetSpecUrl: 'https://staging.example.com/v1/openapi.yaml',
outputMode: 'summary',
},
{ maxTotalChargeUsd: 0.10 }
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

Transparent Pay-Per-Event Pricing

EventPrice (USD)Notes
Actor start (apify-actor-start)$0.00005Waives first 5 seconds of compute
Dataset result (apify-default-dataset-item)$0.002Charged per diff summary (or change item in per-change mode)

Typical summary CI check: ~$0.002 total.


FAQ

Does it support Swagger 2.0?
No—OpenAPI 3.0.x and 3.1.x are supported (YAML and JSON).

Need an interactive browser OpenAPI Diff or VS Code extension?
Try our free live diff tool at b2btoolstudio.com/tools/openapi-diff.html or install OpenAPI Contract Sentinel on the VS Code Marketplace.