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

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.19.0.tar.gz
  • Upload date:
  • Size: 27.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.19.0.tar.gz
Algorithm Hash digest
SHA256 0008c9d6ab68c44230516e582081cb74d6d545c9cb77b2c569a6eca7bf4940de
MD5 211d9fc6ef0ef920fd1cce2fde162a8a
BLAKE2b-256 9a7a520866b59e6bb3f9b4bbd4d9efebb94a3a619c5dfe42ad67ab1ea924c00f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapi_generator_cli-7.19.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca1d6b570e60c8ffed4611e6250743d2b2a2cc8b9fe39066a204ecedf6a59c6
MD5 238425d81e1e29226c6328504e4e2769
BLAKE2b-256 4129c5e7e1e53b0fa39da0d182ace22c69473543fa0ff09be9806e4c6ce8a7cf

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