code: def add_swagger(app, json_route, html_route):
      
      app.add_route(create_swagger_json_handler(app), json_route, methods=["GET"])
      add_swagger_api_route(app, html_route, json_route)
docs: a convenience method for both adding a swagger.json route,
      as well as adding a page showing the html documentation