Automic VaultAutomic Vault

brew

Install openapi-generator with Homebrew, pacman

Generate clients, server & docs from an OpenAPI spec (v2, v3). Version 7.23.0 via Homebrew; verified 2026-06-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install openapi-generator

local Homebrew formula metadata

overview

Package summary

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

Commands and aliases

  • openapi-generator

history

Project history and usage

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.

Project history

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

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

Sources

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:client,server

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.

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-generatorcliglobal 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-07
manager version7.23.0
manager updated2026-06-08
local dataok
upstreamnot checked
latest detectednot detected

https://openapi-generator.tech/

install metadata

Package metadata

Package keybrew:openapi-generator
Version7.23.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/openapi-generator
Homepagehttps://openapi-generator.tech/
Repositoryhttps://github.com/OpenAPITools/openapi-generator
Upstream docshttps://openapi-generator.tech/docs
LicenseApache-2.0
Source archivehttps://search.maven.org/remotecontent?filepath=org/openapitools/openapi-generator-cli/7.23.0/openapi-generator-cli-7.23.0.jar
Last updated2026-06-08T14:54:20Z
Pulseupdated
Dependenciesopenjdk
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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-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 dependencies
  • normalized package name match
  • Matched by: 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

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