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

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.23.0.tar.gz
  • Upload date:
  • Size: 28.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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.23.0.tar.gz
Algorithm Hash digest
SHA256 6af02de4dd2bbd052da2495cc792580bc9f8b245ad1620c2d5d06daaf440ff1a
MD5 2e8006080568893371a4e4ac10e505e0
BLAKE2b-256 a14dea82fdfb536a8323aad4227ba89876cbfabee637f583aea530c1e0f73262

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.23.0-py3-none-any.whl
  • Upload date:
  • Size: 28.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff9547eff66b74a9349345164df3d8c1c524a378c14700ac202d2f678520b54
MD5 fae9482a1ae929d57e6aebf7227bc9fd
BLAKE2b-256 e2d3b3225ef2c75f70e538c89919ebaddb5a623a07718fca08a19cecd9656107

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