Move Flask-Restplus Swagger API Docs
I'm trying to use flask-restplus to build a restful API in python. I'd like to have the swagger docs located in a different place than the normal "/". I'm following the documentation here and have followed the instructions. I'm using python2.7.3 and have the following code ~/dev/test/app.py : from flask import Flask from flask.ext.restplus import Api, apidoc app = Flask(__name__) api = Api(app, ui=False) @api.route('/doc/', endpoint='doc') def swagger_ui(): return apidoc.ui_for(api) app.register_blueprint(apidoc.apidoc) When I try to run this python app.py I get: Traceback (most recent call