Automic VaultAutomic Vault

brew

Install openapi-diff with Homebrew, pacman

Utility for comparing two OpenAPI specifications. Version 2.1.7 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install openapi-diff

local Homebrew formula metadata

overview

Package summary

Utility for comparing two OpenAPI specifications

Commands and aliases

  • openapi-diff

history

Project history and usage

openapi-diff is an OpenAPITools utility for comparing two OpenAPI 3.x specifications and rendering the differences as text, HTML, Markdown, AsciiDoc, or JSON. Its main job is to tell teams whether an API description changed and whether those changes are compatible or incompatible.

Project history

The repository was created on December 12, 2017 and later moved under the OpenAPITools umbrella. A project discussion for version 2.0.0 on December 5, 2021 described that release as the first stable OpenAPI-Diff release under the OpenAPI Tools organization.

Adoption history

The project is distributed as Java artifacts on Maven Central, a Docker image under `openapitools/openapi-diff`, and a Homebrew formula. That packaging mix reflects its use both as a library/plugin in Java builds and as a standalone CLI in local or CI workflows.

How it is used

Developers invoke `openapi-diff <old> <new>` against local files or HTTP URLs, then choose renderers or state-only output. CI users can turn compatibility checks into gates with options such as `--fail-on-incompatible` or `--fail-on-changed`.

Java projects can add the Maven plugin to compare a reference specification against a generated build artifact during tests. The README also documents direct invocation through the core API for custom comparison tooling.

Why package nerds care

openapi-diff is package-nerd-interesting because it treats API descriptions as build artifacts with semantic compatibility. It turns OpenAPI files from passive documentation into something package managers, CI systems, and release processes can enforce.

Timeline

  • December 12, 2017: the GitHub repository was created. December 5, 2021: the 2.0.0 discussion announced the first stable OpenAPI-Diff release under OpenAPI Tools. January 26, 2026: GitHub releases list version 2.1.7.

Related projects

  • openapi-diff lives in the OpenAPITools ecosystem alongside OpenAPI Generator and shares the same broader OpenAPI/Swagger tooling context.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
openapi-diffcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.1.7
manager updated2026-06-22
local dataok
upstreamcurrent
latest detected2.1.7

https://github.com/OpenAPITools/openapi-diff

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:openapi-diff
Version2.1.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/openapi-diff
Homepagehttps://github.com/OpenAPITools/openapi-diff
Repositoryhttps://github.com/OpenAPITools/openapi-diff
Upstream docshttps://github.com/OpenAPITools/openapi-diff#readme
LicenseApache-2.0
Source archivehttps://github.com/OpenAPITools/openapi-diff/archive/refs/tags/2.1.7.tar.gz
Last updated2026-06-22T14:05:41-07:00
Pulseupdated
Dependenciesopenjdk
Build dependenciesmaven
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopenapi-diff
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

pacman95%

openapi-diff 2.1.7-1

Utility for comparing two OpenAPI specifications

https://github.com/OpenAPITools/openapi-diff

sudo pacman -S openapi-diff
  • License: 0BSD AND Apache-2.0
  • Architecture: any
  • 2 dependencies
  • normalized package name match
  • Matched by: Openapi Diff
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: openapi-diff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment