Automic VaultAutomic Vault

brew

使用 Homebrew, pacman 安装 openapi-diff

查看 openapi-diff 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install openapi-diff

local Homebrew formula metadata

概览

软件包摘要

Utility for comparing two OpenAPI specifications

命令和别名

  • openapi-diff

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
openapi-diffcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.1.7
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本2.1.7

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:openapi-diff
版本2.1.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/openapi-diff
主页https://github.com/OpenAPITools/openapi-diff
仓库https://github.com/OpenAPITools/openapi-diff
上游文档https://github.com/OpenAPITools/openapi-diff#readme
许可证Apache-2.0
源码归档https://github.com/OpenAPITools/openapi-diff/archive/refs/tags/2.1.7.tar.gz
最后更新2026-06-22T14:05:41-07:00
Pulseupdated
依赖openjdk
构建依赖maven
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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