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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1f51f2bda54f49afb7aeca2a8cd0eb11a06c3b040ac3b7da666fb144fc21156 |
|
MD5 | 049575b0c3e7369a35f692d31c457d4e |
|
BLAKE2b-256 | 8e6b86fd8c355f00e81ddc735417ee049e314f094c2f5125bb12f68465635174 |
Close
Hashes for openapi_client_generator-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d207ef5ef5f0b3ce2717b57afc3868b6f6493127c89ff47b5a2609de2f1721c |
|
MD5 | 6715ab848533b1acbea8e91cff6a0d89 |
|
BLAKE2b-256 | 15c64751be8510cbed63f70d9e1f95896e6a4fe5a75c217f09a048b7818942f0 |