$npx skillfedfor your agent

openapi-generator-cli

CLI for openapi generator

Worth itPyPI Build ToolsReleased Jul 2026756.2K downloads / moAPACHE 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — openapi_generator_cli-7.24.0-py3-none-any.whl
v7.24.0 · released 2026-07-21 · Python <4,>=3.10

Yes. The package is actively maintained, has no Python dependencies (low friction), carries a permissive Apache 2.0 license, and addresses a real workflow need—code generation from API specs. The only prerequisite is Java on your PATH, which is documented. Install it if you work with OpenAPI specs and want to automate SDK or stub generation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Java binary (JDK 11 or later) must be available on PATH, or install with jdk4py extra: pip install openapi-generator-cli[jdk4py]
  • Low friction installation with no Python runtime dependencies.
  • Actively maintained with recent releases; last commit 2026-08-14.

License · maintenance · safety

APACHE 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-07-21 (24 days) · last repo commit 2026-08-14 · 26,672 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 756,151 downloads/mo, #5,139 on PyPI

Verify before relying

pip install openapi-generator-cli
openapi-generator-cli version
  • Specific OpenAPI generator features and output language support beyond the fact sheet
  • Performance characteristics for large or complex OpenAPI specifications
  • Integration patterns with CI/CD pipelines or build systems
Same gist for agents: .md · .json

What it is and what it does

openapi-generator-cli is a Python package that wraps the OpenAPI Generator tool, making it available as a command-line interface. It automatically generates API client libraries (SDKs), server stubs, and API documentation from OpenAPI specifications in versions 2.0 and 3.0. The package syncs daily with the upstream Maven repository to stay current with the latest generator releases.

To use it, you install the package via pip and run openapi-generator-cli commands from your terminal. The tool requires Java (JDK 11 or later) to be installed and available on your system PATH, since the underlying generator is Java-based. Alternatively, you can install the optional jdk4py extra to avoid managing a separate Java installation. Once installed, you can invoke the CLI to parse OpenAPI specs and generate code in various target languages and frameworks.

Use it for

  • Generate type-safe API client SDKs from OpenAPI specs to reduce manual coding and keep clients in sync with API changes
  • Produce server stub code and routing scaffolds from an OpenAPI contract to accelerate backend implementation
  • Auto-generate API documentation and interactive API explorer configurations from a single OpenAPI source
  • Integrate into CI/CD pipelines to regenerate client libraries whenever the OpenAPI spec is updated
  • Support multiple programming languages and frameworks from a single OpenAPI definition

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no Python dependencies (low friction), carries a permissive Apache 2.0 license, and addresses a real workflow need—code generation from API specs. The only prerequisite is Java on your PATH, which is documented. Install it if you work with OpenAPI specs and want to automate SDK or stub generation.

Install

openapi-generator-cli on PyPI

Before you install

Low friction installation with no Python runtime dependencies. Actively maintained with recent releases; last commit 2026-08-14. Requires Java (JDK 11 minimum) on PATH or optional jdk4py package.

Java binary (JDK 11 or later) must be available on PATH, or install with jdk4py extra: pip install openapi-generator-cli[jdk4py]

License in practice

Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install openapi-generator-cli
openapi-generator-cli version

Verify before relying

  • Specific OpenAPI generator features and output language support beyond the fact sheet
  • Performance characteristics for large or complex OpenAPI specifications
  • Integration patterns with CI/CD pipelines or build systems

Package facts

LicenseAPACHE 2.0 permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 24 days since the last release
Last repo commit
First released
Downloads756,151 / month, #5,139 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTyping :: Typed

Evidence: openapi_generator_cli-7.24.0-py3-none-any.whl

Tags

Capabilities
openapi code generationapi client generatoropenapi spec to codesdk generation from openapiopenapi cli toolapi documentation generatoropenapi 3.0 code gen
Topics
api-code-generationopenapicli-tool
PyPI keywords
cligeneratoropenapi

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “openapi code generation”

  • openapi-generator-cliProvides a Python CLI wrapper for OpenAPI Generator, enabling…
  • drf-yasgGenerates Swagger/OpenAPI 2.0 specifications automatically from…
  • openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also openapi-python-client · legit-api-client · tapipy · gooddata-api-client · trieve-py-client · openapi-spec-validator · qase-api-v2-client · openapi3 · aiopenapi3 · mastercard-oauth1-signer