magpie.api.swagger.views

Functions

api_swagger(request)

Swagger UI route to display the Magpie REST API schemas.

api_schema(→ magpie.typedefs.JSON)

Return JSON Swagger specifications of Magpie REST API.

Module Contents

magpie.api.swagger.views.api_swagger(request)[source]

Swagger UI route to display the Magpie REST API schemas.

magpie.api.swagger.views.api_schema(request: pyramid.request.Request) magpie.typedefs.JSON[source]

Return JSON Swagger specifications of Magpie REST API.