Skip to content

backo-stricto/documento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documento

Display an OpenAPI documentation from a backend powered by backo.

Documento can be powered by either Swagger UI, Scalar, ReDoc or RapiDoc.

Installation

pip install documento

Usage

usage: documento [-h] [--theme {redoc,scalar,swagger,rapidoc}] [--host HOST] [--port PORT] url

Documento: OpenAPI documentation server for backo.

positional arguments:
  url                   Base URL of the backo instance.

options:
  -h, --help            show this help message and exit
  --theme {redoc,scalar,swagger,rapidoc}
                        theme to use for the documentation.
  --host HOST           host to serve the documentation on.
  --port PORT           port used to serve the documentation.

Minimal example:

In backo/example run the nationality/backoffice.py, then

documento http://localhost:5000/nationality

And access it on http://localhost:8000/.

About

Display the OpenAPI documentation of a backo project

Resources

License

Stars

Watchers

Forks

Contributors