Swagger integration for viewing REST on your guillotina install
Project description
A guillotina application to automatically generate swagger interfaces for APIs defined with guillotina.
Configuration
Available config.json options:
{ "swagger": { "authentication_allowed": false, "base_configuration": { "swagger": "2.0", "info": { "version": "", "title": "Guillotina", "description": "The REST Resource API" }, "host": "", "basePath": "", "schemes": [], "produces": [ "application/json" ], "consumes": [ "application/json" ], "paths": {}, "definitions": {} } } }
Viewing swagger for resource
Append @docs onto any url: http://localhost:8080/@docs.
1.0.9 (2017-10-18)
Fix when you don’t use interfaces to define services [vangheem]
1.0.8 (2017-06-19)
Add permission to documentation [vangheem]
1.0.7 (2017-06-18)
Tweak UI [vangheem]
1.0.6 (2017-06-18)
Automatically detect auth tokens and be able to provide own authorization header [vangheem]
1.0.5 (2017-06-13)
Also pull basePath for swagger from vhm if provided [vangheem]
1.0.4 (2017-06-13)
Use vhm for host setting on swagger [vangheem]
1.0.3 (2017-06-13)
Pay attention to vhm
1.0.2 (2017-06-12)
be able to provide custom base_url for swagger [vangheem]
1.0.1 (2017-06-07)
Fix getting path of resource
1.0.0 (2017-04-04)
initial release
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
Built Distribution
Hashes for guillotina_swagger-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23c0e333cfabba581b11d4dd0d8d4ad19b9b4c4d47acb555682b1e1cc505f944 |
|
MD5 | 590a48ec4c53a8f3641f2ac063c3117b |
|
BLAKE2b-256 | 4ae3864140597c517065e39695289cad029a86eb15715f1f866f001f09dedf89 |