Skip to content
@oasdiff

oasdiff

Know exactly what changed in your API — and who approved it.

oasdiff

OpenAPI breaking-change detection for API teams.

oasdiff is the open-source toolchain teams use to catch breaking changes in OpenAPI specs before they ship. Run it as a CLI, in CI via the GitHub Action, or use the hosted side-by-side review workflow at oasdiff.com to approve or reject each change with a commit-status check.

release stars contributors release downloads docker pulls license

What it does

  • Diff and changelog. A precise, machine-readable diff between any two OpenAPI specs, plus a human-readable changelog.
  • Breaking-change checks. A library of rules that flag changes likely to break API consumers.
  • PR annotations. The oasdiff GitHub Action marks breaking changes inline on the changed lines, in the Files Changed tab.
  • Side-by-side review. Open any spec pair at oasdiff.com/diff for a visual review.
  • Validate. Catch OpenAPI and JSON Schema violations standalone, no diff required.

Quick start

Try it without installing:

docker run --rm -t tufin/oasdiff diff \
  https://raw.githubusercontent.com/oasdiff/oasdiff/main/data/openapi-test1.yaml \
  https://raw.githubusercontent.com/oasdiff/oasdiff/main/data/openapi-test5.yaml

Install:

brew install oasdiff                                                                # macOS
go install github.com/oasdiff/oasdiff@latest                                        # Go
curl -fsSL https://raw.githubusercontent.com/oasdiff/oasdiff/main/install.sh | sh   # macOS or Linux

Or paste two specs at oasdiff.com/diff.

Repositories

Repo What it is
oasdiff/oasdiff Core CLI and Go library
oasdiff/oasdiff-action GitHub Action for pull-request CI

oasdiff Pro

For teams that need block-on-merge controls, approve / reject directly on the GitHub PR comment, and per-org policy: see oasdiff Pro.

Project health

  • Apache-2.0 licensed
  • Active development with regular tagged releases
  • Used in CI by API teams across SaaS, fintech, dev-tools, and OSS

Get in touch

Popular repositories Loading

  1. oasdiff oasdiff Public

    OpenAPI Diff and Breaking Changes

    Go 1.2k 96

  2. oasdiff-action oasdiff-action Public

    GitHub action for comparing and detect breaking changes in OpenAPI specs

    Shell 61 30

  3. sync sync Public archive

    Stay Informed About Upstream API Breaking Changes Proactively

    Go 4 1

  4. gitlab-ci gitlab-ci Public

    2

  5. asdf-oasdiff asdf-oasdiff Public

    Shell 1 1

  6. telemetry telemetry Public archive

    Go 1 1

Repositories

Showing 10 of 17 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…