Skip to main content

CLI for openapi generator

Project description

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 :)

Project details


Release history Release notifications | RSS feed

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.21.0.tar.gz (28.0 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.21.0-py3-none-any.whl (28.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.21.0.tar.gz
  • Upload date:
  • Size: 28.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.21.0.tar.gz
Algorithm Hash digest
SHA256 a15a21a3500742dd984596234d654ef8dded318e5da7de08934150a2cf1a305e
MD5 d5c9afbffdc455870cee0ddf62929993
BLAKE2b-256 ba3d5bd1f2934d55b9490344e9384429a6adf8b332a37404fd95faa0b5ed9f4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.21.0-py3-none-any.whl
  • Upload date:
  • Size: 28.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 810362b6685886153735cafdaf7d0be885f419e182c9e0d85503490fe5642381
MD5 be7f32bb11c3d98c28384e66a3132e93
BLAKE2b-256 c3a224546fa7ca83a0745ae08fab3a9de83d80046b2aec612e6439ab912851ce

See more details on using hashes here.

Supported by

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