A CLI for every service which exposes a OpenAPI (Swagger) specification endpoint.
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.
To start a CLI session run:
docker run -it sharbov/open-cli <swagger-spec-url>
e.g:
docker run -it sharbov/open-cli http://petstore.swagger.io/v2/swagger.json
To install OpenCLI, simply:
pip install opencli
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
This project relies on Yelps bravado project & on Jonathan Slenders python-prompt-toolkit.