Generate OpenAPI spec for restible resources


Keywords
restible swagger OpenAPI REST restapi
License
MIT
Install
pip install restible-swagger==0.3.3

Documentation

restible-swagger

This is simple tool that makes it easy to generate OpenAPI (previously Swagger) specification from the restible powered backend code.

Note

The CircleCI builds can be found here

Installation

$ pip install restible-appengine

Contributing

Cloning and setting up the development repo

$ git clone git@github.com:novopl/restible-swagger.git
$ cd restible-swagger
$ virtualenv env
$ source ./env/bin/activate
$ pip install .
$ pip install -r ops/devrequirements.txt
$ peltak git add-hooks

Note

God knows why, installing the current package with python setup.py develop or python setup.py install will cause pylint to think six is a local project package and it will throw errors about the wrong import order.

Running tests

$ peltak test

Linting

$ peltak lint

Generating docs

$ peltak docs