smizell / api-browser

View documentation for your API from your command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api-browser

PyPI Tests Changelog License

Browse API documentation

Installation

You can use pipx to install this tool.

You can also use pip:

pip install api-browser

Usage

See api_browser --help for all details.

api_browser openapi <filename>

Load the OpenAPI file and show Redoc documentation. Refresh the page to load any changes to the OpenAPI file.

Development

To contribute to this library, first checkout the code. Then create a new virtual environment:

cd api-browser
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

About

View documentation for your API from your command line

License:Apache License 2.0


Languages

Language:Python 70.8%Language:HTML 29.2%