OpenAPI Client Generator
Project description
OpenAPI Client Generator
This CLI utility allows you to generate Python client packages from OpenAPI v3 specifications. The project aims at supporting any generic valid specification.
Works on Python 3.8 and above.
You can install it from PyPI:
pip install openapi-client-generator
Afterwards, use a CLI utility called openapi-client-generator:
$ openapi-client-generator --help
usage: openapi-client-generator [-h] [-V] {gen} ...
OpenAPI Client Generator
optional arguments:
-h, --help show this help message and exit
-V, --version show program's version number and exit
sub-commands:
valid sub-commands
{gen} additional help
gen Generate client for a provided schema (JSON, YAML).
Cloning this repo
The proper way to clone this repo is:
git clone --recurse-submodules <repo-url> <local-project-root>
cd <local-project-root>
# for showing submodule status with `git status`
git config status.submodulesummary 1
# for logging submodule diff with `git diff`
git config diff.submodule log
Documentation
Documentation is hosted on ReadTheDocs: https://openapi-client-generator.readthedocs.io/en/develop/
Test framework
The project uses Nix for bootstrapping its dev environment.
You can run existing test suite with
$ nix-shell --run "make test"
Changelog
See CHANGELOG.
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
Built Distribution
Close
Hashes for openapi-client-generator-1.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2943177da803e9fe9339cc3756f12b8e51b0625b285a3123065cf02712d8e1 |
|
MD5 | 47ab50c0ca0bb3d883e1a06fbfe706d5 |
|
BLAKE2b-256 | e0095397eda1dee8abd61994011a36b907b6af6b21e1c28fd0e62d55f5223827 |
Close
Hashes for openapi_client_generator-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22c5698377f9d372dddcef8223ff813937216381d8e5269b19ac1f639aa7655c |
|
MD5 | 5fe0d87b36ef845dfabed750e900e9c9 |
|
BLAKE2b-256 | 96cc132ef3d09151909bfa9471043b514dbbb3de3d674c817d288c3ac937da36 |