Generate client based on OpenAPI Specification and wrap it in a command line interface
Project description
OpenCLI
=========
Generate a command line interface based on OpenAPI Specification.
From the OpenAPI Specification project:
> The goal of The OpenAPI Specification is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
Installation
------------
To install OpenCLI, simply:
pip install opencli
Usage
-----
To start a CLI session run:
open-cli <swagger-spec-url>
e.g:
open-cli http://petstore.swagger.io/v2/swagger.json
For more options run:
open-cli -h
Credits
-------
This project relies on Yelps [bravado](https://github.com/Yelp/bravado) project & on Jonathan Slenders [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit).
=========
Generate a command line interface based on OpenAPI Specification.
From the OpenAPI Specification project:
> The goal of The OpenAPI Specification is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
Installation
------------
To install OpenCLI, simply:
pip install opencli
Usage
-----
To start a CLI session run:
open-cli <swagger-spec-url>
e.g:
open-cli http://petstore.swagger.io/v2/swagger.json
For more options run:
open-cli -h
Credits
-------
This project relies on Yelps [bravado](https://github.com/Yelp/bravado) project & on Jonathan Slenders [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit).
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
opencli-0.0.2.tar.gz
(5.0 kB
view hashes)