DEV Community

profalexandrezamboni-ui
profalexandrezamboni-ui

Posted on Originally published at specgate.profalexandrezamboni.workers.dev

Optic OpenAPI Diff Was Archived in Jan 2026: Zero-Login Deterministic Migration to SpecGate + OASIS SARIF CI Gate

If your CI pipeline used opticdev/optic to catch OpenAPI breaking changes on Pull Requests, you probably noticed two things in 2026: opticdev/optic was archived (read-only) on January 12, 2026, and useoptic.com is no longer resolving.

Leaving an archived Node CLI in your release gate means no OpenAPI 3.1/3.2 schema fixes, stale transitive dependencies, and broken cloud changelog links.

Below is the 5-minute, zero-Docker, deterministic migration to SpecGate (v1.2.0, MIT) — plus honest trade-offs on when you should pick oasdiff instead.


1. Try the Breaking-Change Diff in Your Browser First (0 Login, <15ms)

Before touching any workflow YAML, you can run a live OpenAPI 3.1 breaking-change check right in your browser (or via curl):

Or test directly from your terminal with curl:

curl -sS -X POST "https://specgate.profalexandrezamboni.workers.dev/api/v1/diff?format=sarif" \
  -H "Content-Type: application/json" \
  -d '{
    "base_spec": {"openapi":"3.1.0","paths":{"/v1/orders":{"get":{"parameters":[{"name":"cursor","in":"query","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"receipt_url":{"type":"string"}}}}}}}}}}},
    "head_spec": {"openapi":"3.1.0","paths":{"/v1/orders":{"get":{"parameters":[{"name":"cursor","in":"query","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}}}}}}}}}}}
  }'
Enter fullscreen mode Exit fullscreen mode

It returns deterministic findings (OAS-BREAK-005 for optional → required parameter, OAS-BREAK-011 for removed response property), exact SemVer bump (MAJOR), and native OASIS SARIF v2.1.0 for GitHub Code Scanning.


2. Drop-In Replacement for Optic in GitHub Actions (<0.5s Cold Start)

Replace your archived Optic step with the official MIT GitHub Marketplace Action (v1.2.0):

name: OpenAPI Breaking-Change Gate
on:
  pull_request:
    paths:
      - "openapi/**"

permissions:
  contents: read
  security-events: write

jobs:
  specgate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Run SpecGate Contract Diff (GitHub Marketplace Action)
        uses: profalexandrezamboni-ui/specgate-action@v1.2.0
        with:
          base_spec: "openapi/base.json"
          head_spec: "openapi/head.json"
          fail_on_breaking: "true"

      - name: Export OASIS SARIF v2.1.0 for GitHub Code Scanning
        if: always()
        run: |
          uvx --from git+https://github.com/profalexandrezamboni-ui/specgate-action@v1.2.0 \
            specgate-cli --base openapi/base.json --head openapi/head.json --format sarif > specgate.sarif

      - name: Upload SARIF to GitHub Code Scanning
        if: always()
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: "specgate.sarif"
Enter fullscreen mode Exit fullscreen mode

Bonus: Wire AI Coding Agents (Claude Code / Cursor) to the Exact Same Oracle

When Claude Code or Cursor refactors an endpoint, give it the exact same deterministic diff check locally via Streamable HTTP MCP (zero login, zero Docker):

claude mcp add --transport http specgate https://specgate.profalexandrezamboni.workers.dev/mcp
Enter fullscreen mode Exit fullscreen mode

3. Honest Comparison: SpecGate vs. oasdiff vs. Archived Optic

Capability Archived Optic oasdiff (Go) SpecGate (v1.2.0)
Maintenance Status Archived Jan 12, 2026 Active Active (MIT + Edge)
CI Cold Start ~2–5s (Node) <1s (Go binary) <0.5s CLI / <15ms Edge
Native OASIS SARIF v2.1.0 No Via custom format Built-in (--format sarif)
Zero-Login Remote MCP (/mcp) No No Yes (OpenAPI + SPF + WCAG)
SOC 2 CC8.1 Sign-Off Bundle Discontinued Custom / Paid SHA-256 Signed Bundle ($39/mo Team)

When to choose oasdiff instead: if your team wants a compiled Go binary with 200+ fine-grained OpenAPI lint/diff checks and already maintains custom CI wrappers.

When to choose SpecGate: if you want a zero-dependency GitHub Marketplace Action + zero-login remote MCP server + native SARIF v2.1.0 + flat team pricing ($0 Free for up to 2 repos, optional $19/mo Starter for 15 repos, $39/mo Team for unlimited repos + SOC 2 CC8.1 audit bundles).

Top comments (0)