avanov / openapi-client-generator

Generates Python client packages from OpenAPI v3 specifications. The project aims at supporting any generic valid specification.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

image

Requirements Status

Documentation Status

Latest PyPI Release

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.

Features

  • works on Python 3.8 and above;
  • generates clients with type hints to aid static analysis of higher level interfaces that would use the clients;
  • supports streaming endpoints.

Installation

You can install it from PyPI:

Afterwards, use a CLI utility called openapi-client-generator:

Contributing

Cloning this repo

The proper way to clone this repo is:

Test framework

The project uses Nix for bootstrapping its dev environment.

You can run existing test suite with

$ nix-shell --run "make test"

Documentation

Documentation is hosted on ReadTheDocs: https://openapi-client-generator.readthedocs.io/en/develop/

Changelog

See CHANGELOG.

LICENSE

MIT

About

Generates Python client packages from OpenAPI v3 specifications. The project aims at supporting any generic valid specification.

License:MIT License


Languages

Language:Python 94.2%Language:Jinja 3.3%Language:Makefile 1.4%Language:Nix 1.0%