Automic VaultAutomic Vault

brew

swagger-codegen を Homebrew, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install swagger-codegen

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install swagger-codegen

MacPorts ports tree · devel/swagger-codegen/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#swagger-codegen

nixpkgs package indexes · pkgs/by-name/sw/swagger-codegen/package.nix · ソース: api.github.com

概要

パッケージ概要

Generate clients, server stubs, and docs from an OpenAPI spec

コマンドとエイリアス

  • swagger-codegen

履歴

プロジェクトの歴史と使われ方

Swagger Codegen is the Swagger/OpenAPI project's command-line code generator for API clients, server stubs, and documentation. The Homebrew `swagger-codegen` formula tracks the modern 3.x line, which adds OpenAPI 3.0 support while sharing the long-running upstream repository.

プロジェクトの歴史

The swagger-api/swagger-codegen repository was created on GitHub in July 2011. Official Swagger documentation describes Swagger Codegen as a project that generates API client libraries, server stubs, and documentation automatically from an OpenAPI Description.

採用の歴史

Swagger Codegen became widely packaged because it is a single Java CLI that can generate code for many languages and frameworks. The official README lists client generators for languages including Java, Go, Python, Ruby, PHP, Swift, TypeScript, and many others, plus server stubs and documentation outputs.

使われ方

The common CLI pattern is to run the codegen jar with `generate`, pass an input spec with `-i`, select a target language with `-l`, and choose an output directory with `-o`. Official docs also describe querying generator capabilities and integrating generation into Maven, Gradle, Docker, GitHub, and CI workflows.

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

For package-manager users, Swagger Codegen is important because it converts API descriptions into language-specific source trees without requiring each language ecosystem to maintain its own generator. It is also a classic example of a large Java CLI distributed through system package managers, Maven artifacts, Docker, and release jars.

タイムライン

  • 2011: GitHub repository created.
  • 2014: v2.0.13 appears in GitHub releases.
  • 2018: v3.0.0 released with the 3.x line.
  • 2025: Official docs list 3.0.71 as a stable 3.x release with OpenAPI 3.0 compatibility.
  • 2026: GitHub releases list later 3.x releases during research.

Related projects

  • The official docs tie Swagger Codegen to the OpenAPI Specification and Swagger tooling. The README also points to Swagger online generators, a validator, and workflow integrations.

セキュリティ状態

保護ツール対応はまだ見つかっていません

swagger-codegen に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
swagger-codegencliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版3.0.81
マネージャ更新日2026-05-18
ローカルデータOK
上流最新
検出された最新v3.0.81

https://github.com/swagger-api/swagger-codegen

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:swagger-codegen
バージョン3.0.81
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/swagger-codegen
ホームページhttps://swagger.io/tools/swagger-codegen/
リポジトリhttps://github.com/swagger-api/swagger-codegen
上流ドキュメントhttps://github.com/swagger-api/swagger-codegen#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/swagger-api/swagger-codegen/archive/refs/tags/v3.0.81.tar.gz
最終更新2026-05-18T14:26:15Z
Pulseupdated
依存関係openjdk
ビルド依存関係maven
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

swagger-codegen

nix profile install nixpkgs#swagger-codegen
  • normalized package name match
  • 一致条件: Swagger Codegen
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sw/swagger-codegen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

swagger-codegen

sudo port install swagger-codegen
  • normalized package name match
  • 一致条件: Swagger Codegen
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/swagger-codegen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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