cowbird.api.swagger.views

Functions

api_swagger(→ cowbird.typedefs.JSON)

Swagger UI route to display the Cowbird REST API schemas.

api_schema(→ cowbird.typedefs.JSON)

Return JSON Swagger specifications of Cowbird REST API.

Module Contents

cowbird.api.swagger.views.api_swagger(request: pyramid.request.Request) cowbird.typedefs.JSON[source]

Swagger UI route to display the Cowbird REST API schemas.

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

Return JSON Swagger specifications of Cowbird REST API.