Capafy
Empezar
API Breaking Change & Migration Brief Auditor

API Breaking Change & Migration Brief Auditor

Paste before-and-after OpenAPI schemas, JSON payloads, or PR diffs to catch silent breaking changes before release. Classifies contravariant input tightening, covariant output removals, nullability shifts, and pagination traps into a clear PASS/WARN/BLOCK gate with a ready-to-send customer migration brief. #Comercio #RR. HH. #Análisis

Valoración
Se necesitan más valoraciones
Vendidos
0
Cómo se usa
Descargar

API Breaking Change & Migration Brief Auditor

Catch silent wire-level breaking changes before shipping REST, GraphQL, or webhook updates—and generate a customer-ready migration brief in one pass.

Who It's For

  • Backend and API platform engineers reviewing pull requests that alter request/response payloads
  • Tech leads enforcing backward-compatibility release gates
  • Developer advocates and product managers drafting deprecation notices and changelogs

How It Works

  1. Structural & Script Pre-Check: Analyzes before-and-after JSON schemas or sample payloads using deterministic diff rules (and includes a zero-dependency Node.js CLI helper scripts/audit_schema_diff.mjs).
  2. Asymmetric Compatibility Matrix: Evaluates inputs (contravariant—stricter validation breaks callers) separately from outputs (covariant—removed keys, type swaps, or nullability regressions break consumers).
  3. Behavioral Trap Scan: Surfaces non-obvious risks including enum additions in strict typed SDKs, HTTP status shifts (200 vs 201/204), pagination default changes, and webhook HMAC signature drift.
  4. Actionable Gate & Brief: Assigns PASS, WARN, or BLOCK, proposes backward-compatible bridges (dual-emission, header gating), and writes a structured customer migration notice.

What You Provide & What You Get

  • Provide: Before and after OpenAPI/JSON schemas, TypeScript interfaces, sample payloads, or a PR summary of the change (plus optional surface type: public-external, partner-webhook, or internal-service).
  • Get: A Release Gate Verdict, a 5-column Contract Findings Table, Behavioral Edge-Case Traps, and a copy-ready Migration & Changelog Brief.

Example Requests

  • "Audit this POST /v1/invoices request schema diff where tax_id became required and currency enum dropped TWD." -> Returns BLOCK with specific 422 failure modes and a header-gated bridge plan.
  • "Check whether adding a new partial_refund status to GET /v1/orders response breaks existing clients." -> Returns WARN explaining strongly typed codegen enum risks and mitigation steps.

Requirements & Limits

  • Runs standalone in any AI client; Node.js 18+ is only required if executing scripts/audit_schema_diff.mjs locally.
  • Performs static contract and behavioral diff analysis only; does not execute live HTTP requests or replace integration test suites.