Skip to main content

OpenAPI Generator in Package Installer for Python (PIP)

Join the Slack chat room PyPI version Code style: black Ruff

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (both 2.0 and 3.0 are supported). Please see OpenAPITools/openapi-generator


This project checks the maven repository once a day for a new version and will publish this new version automatically as a python package.

Installation

You must have the java binary executable available on your PATH for this to work. (JDK 11 is the minimal version supported. To install OpenJDK, please visit https://adoptium.net/)

You can install the package either in a virtual environment or globally.

# install the latest version of "openapi-generator-cli"
pip install openapi-generator-cli

# install a specific version of "openapi-generator-cli"
pip install openapi-generator-cli==4.3.1

You can also install with jdk4py instead of java binary.

pip install openapi-generator-cli[jdk4py]

After installation openapi-generator-cli command will be available in your virtual environment or globally depending on your installation.

To check the version, for example. Type the following command

# this will print the correct version number
openapi-generator-cli version

Further Documentation

Please refer to the official openapi-generator docs for more information about the possible arguments and a detailed usage manual of the command line interface.

Like the package?

Please leave a star.

Have suggestions or feedback?

Please raise an issue, happy to hear from you :)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openapi_generator_cli-7.24.0.tar.gz (28.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openapi_generator_cli-7.24.0-py3-none-any.whl (28.6 MB view details)

Uploaded Python 3

File details

Details for the file openapi_generator_cli-7.24.0.tar.gz.

File metadata

  • Download URL: openapi_generator_cli-7.24.0.tar.gz
  • Upload date:
  • Size: 28.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for openapi_generator_cli-7.24.0.tar.gz
Algorithm Hash digest
SHA256 89493ecf8d8f736b9d137991a8c8d81282fb2fd84cceff1d0975ee477db24bb4
MD5 2836c363c2c1e23d24d3e7c36d2be09e
BLAKE2b-256 7b88a8aeda38d664b7fcacf94f8c26c32b439619c50165e7893e1d7e836a2d70

See more details on using hashes here.

File details

Details for the file openapi_generator_cli-7.24.0-py3-none-any.whl.

File metadata

  • Download URL: openapi_generator_cli-7.24.0-py3-none-any.whl
  • Upload date:
  • Size: 28.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for openapi_generator_cli-7.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa997a45b571afd2d5e3a4553e1fa54cb7beb38c0ad37439f25ddc8a0a4313f
MD5 399b203fc9ff01ef8aca5d9cb2965ddf
BLAKE2b-256 cfc08273992c601b2595d54f34315c1a01e4e1b9623575c025499648aedbb44e

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page