Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix Rally scenario parameters representation
[functest.git]
/
functest
/
api
/
server.py
diff --git
a/functest/api/server.py
b/functest/api/server.py
index
c6eb0b3
..
3200c1a
100644
(file)
--- a/
functest/api/server.py
+++ b/
functest/api/server.py
@@
-20,6
+20,7
@@
import pkg_resources
from flask import Flask
from flask_restful import Api
+from flasgger import Swagger
from functest.api.base import ApiResource
from functest.api.common import api_utils
@@
-34,6
+35,7
@@
LOGGER = logging.getLogger(__name__)
APP = Flask(__name__)
API = Api(APP)
+Swagger(APP)
@APP.teardown_request