Automic VaultAutomic Vault

brew

使用 Homebrew, pacman 安装 openapi-generator

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

安装

其他安装命令

macOS

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

local Homebrew formula metadata

Linux

Arch Linux pacman已验证 · 92%
sudo pacman -S openapi-generator

Arch Linux sync databases · openapi-generator · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Generate clients, server & docs from an OpenAPI spec (v2, v3)

命令和别名

  • openapi-generator

历史

项目历史与用法

OpenAPI Generator is a large OpenAPITools project that generates API clients, server stubs, documentation, schemas, configuration, and related artifacts from OpenAPI specifications. The Homebrew package installs the `openapi-generator` CLI.

项目历史

The repository was created on May 12, 2018 as a fork of Swagger Codegen. The project history in the README says more than 40 Swagger Codegen contributors and template creators forked the project because of disagreement around the Swagger Codegen 3.0.0 beta and project direction, choosing to maintain a community-driven generator under the OpenAPI Generator name.

The migration guide describes OpenAPI Generator as a fork of `swagger-codegen` between versions 2.3.1 and 2.4.0 and documents practical migration changes: new Maven coordinates, Docker images, generator names, parameter names, template-variable changes, and `.openapi-generator-ignore` replacing `.swagger-codegen-ignore`.

采用历史

OpenAPI Generator became one of the central tools in the OpenAPI ecosystem because it covers many generated targets rather than one language. Its README lists client generators, server stubs, documentation generators, schema generators, and auxiliary outputs such as Postman collections, Protocol Buffers, GraphQL schemas, and database schemas.

Distribution grew around the different places API generation happens: Maven Central artifacts for Java builds, Maven and Gradle plugins, Docker images, an npm CLI wrapper, pip packaging, direct JAR downloads, launcher scripts, Homebrew, and other package managers. The project also has a sponsorship and backer structure, reflecting its role as shared infrastructure for many companies and API teams.

使用方式

The common workflow is to run `openapi-generator generate` with an input OpenAPI document and a selected generator name. Teams use it to produce SDKs, server skeletons, docs, tests, schemas, and config from a spec that can be versioned with the API.

The CLI also includes discovery and support commands such as `list`, `config-help`, `author`, and `batch`. Build integrations let organizations generate code during Maven, Gradle, Docker, npm, or CI jobs instead of treating generated clients as hand-maintained source.

为什么软件包爱好者会关心

OpenAPI Generator is a package-manager stress test: one upstream project surfaces as a Java artifact, CLI JAR, Docker image, npm package, pip package, Homebrew formula, plugins, and generated packages in many target languages. It is a single tool whose output often becomes many other packages.

Its fork history also matters. The project represents the OpenAPI ecosystem's shift from Swagger-branded tooling toward community-governed OpenAPI tooling after the OpenAPI Initiative standardized the former Swagger specification.

时间线

  • 2010: the OpenAPI Specification's lineage began with Swagger. November 5, 2015: the OpenAPI Initiative was announced under the Linux Foundation with SmartBear donating the Swagger specification. May 12, 2018: OpenAPI Generator's repository was created as a Swagger Codegen fork. June 8, 2026: GitHub releases list v7.23.0.

Related projects

  • OpenAPI Generator is directly related to Swagger Codegen, the OpenAPI Specification, OpenAPITools, Maven and Gradle plugins, Docker images, npm and pip CLI wrappers, and other OpenAPI code generators.

来源

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:client,server

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本7.24.0
管理器更新时间2026-07-20
本地数据OK
上游not checked
检测到的最新版本未检测到

https://openapi-generator.tech/

安装元数据

软件包元数据

软件包键brew:openapi-generator
版本7.24.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/openapi-generator
主页https://openapi-generator.tech/
仓库https://github.com/OpenAPITools/openapi-generator
上游文档https://openapi-generator.tech/docs
许可证Apache-2.0
源码归档https://search.maven.org/remotecontent?filepath=org/openapitools/openapi-generator-cli/7.24.0/openapi-generator-cli-7.24.0.jar
最后更新2026-07-20T09:49:26Z
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

pacman95%

openapi-generator 7.23.0-1

Generation of API client libraries, server stubs, documentation and configuration

https://github.com/openapitools/openapi-generator/

sudo pacman -S openapi-generator
  • License: Apache-2.0
  • Architecture: any
  • 2 依赖
  • normalized package name match
  • 匹配方式:Openapi Generator
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: openapi-generator 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