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

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.22.0.tar.gz
  • Upload date:
  • Size: 28.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.22.0.tar.gz
Algorithm Hash digest
SHA256 22332d17742576fa04e78a33a20d383351e3bc6d264c7a28d58bfa8a2ac7cb1a
MD5 78abec39eab79e51cf94300b9920b4e7
BLAKE2b-256 6e0db4410ce25252d2b7ed0cc4f667f980fdeaeb91a851f054010a4b24813037

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.22.0-py3-none-any.whl
  • Upload date:
  • Size: 28.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fdcc4206ade29f5d9daf329b8089ad1379fcff3bcb0db0eebdace7c5158296d
MD5 98a2242696745d985b9f7ea6133dd151
BLAKE2b-256 3b2db59821e7a3e3a586e6fb195f01464b0660417863cf341138c1128386a68d

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