Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
solve access testresults.opnfv.org/swagger/spec.html fail issue in testAPI
[releng.git]
/
utils
/
test
/
result_collection_api
/
opnfv_testapi
/
cmd
/
server.py
diff --git
a/utils/test/result_collection_api/opnfv_testapi/cmd/server.py
b/utils/test/result_collection_api/opnfv_testapi/cmd/server.py
index
9022b9a
..
c3d7346
100644
(file)
--- a/
utils/test/result_collection_api/opnfv_testapi/cmd/server.py
+++ b/
utils/test/result_collection_api/opnfv_testapi/cmd/server.py
@@
-49,6
+49,8
@@
CONF = APIConfig().parse(args.config_file)
client = motor.MotorClient(CONF.mongo_url)
db = client[CONF.mongo_dbname]
+swagger.docs(base_url=CONF.swagger_base_url)
+
def make_app():
return swagger.Application(