aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtip/api/cmd/server.py2
-rw-r--r--qtip/api/handler/job_handler.py4
-rw-r--r--qtip/api/model/job_model.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/qtip/api/cmd/server.py b/qtip/api/cmd/server.py
index 852073a7..3b89af1e 100644
--- a/qtip/api/cmd/server.py
+++ b/qtip/api/cmd/server.py
@@ -13,7 +13,7 @@ from flask_restful_swagger import swagger
import qtip.api.router.mapper as mapper
app = Flask(__name__)
-api = swagger.docs(Api(app), apiVersion='0.1')
+api = swagger.docs(Api(app), apiVersion='0.1', description='QTIP API specs')
def add_routers():
diff --git a/qtip/api/handler/job_handler.py b/qtip/api/handler/job_handler.py
index f230e596..eade9df7 100644
--- a/qtip/api/handler/job_handler.py
+++ b/qtip/api/handler/job_handler.py
@@ -1,8 +1,8 @@
import threading
from copy import copy
-from flask.ext.restful import Resource, reqparse
-from flask.ext.restful_swagger import swagger
+from flask_restful import Resource, reqparse
+from flask_restful_swagger import swagger
from werkzeug.exceptions import abort
from qtip.api.handler import db, result_handler
diff --git a/qtip/api/model/job_model.py b/qtip/api/model/job_model.py
index eef771b0..f7eb9fda 100644
--- a/qtip/api/model/job_model.py
+++ b/qtip/api/model/job_model.py
@@ -1,5 +1,5 @@
-from flask.ext.restful import fields
-from flask.ext.restful_swagger import swagger
+from flask_restful import fields
+from flask_restful_swagger import swagger
@swagger.model