# openapi-diff を Homebrew, pacman でインストール

openapi-diff のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:openapi-diff
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install openapi-diff
```

  証拠: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S openapi-diff
```

  証拠: Arch Linux sync databases: openapi-diff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:openapi-diff
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.1.7
- **ソース概要:** Utility for comparing two OpenAPI specifications
- **ホームページ:** <https://github.com/OpenAPITools/openapi-diff>
- **リポジトリ:** <https://github.com/OpenAPITools/openapi-diff>
- **最終更新:** 2026-06-22T14:05:41-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- openapi-diff (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.1.7
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://api.github.com/repos/OpenAPITools/openapi-diff>
- <https://formulae.brew.sh/formula/openapi-diff>
- <https://github.com/OpenAPITools/openapi-diff>
- <https://github.com/OpenAPITools/openapi-diff/discussions/297>
- <https://hub.docker.com/r/openapitools/openapi-diff>
- <https://search.maven.org/artifact/org.openapitools.openapidiff/openapi-diff-core>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- pacman - openapi-diff - 2.1.7-1: normalized package name match | Arch Linux sync databases: openapi-diff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utility for comparing two OpenAPI specifications | https://github.com/OpenAPITools/openapi-diff


## Combined YAML source

View the package source record on GitHub. [combined/openapi-diff.yml](https://github.com/mxcl/pkgdb/blob/main/combined/openapi-diff.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
