summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2016-12-29 00:56:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-29 00:56:01 +0000
commitdfbf8fafa2db6abe10e29a3781424fb77747896b (patch)
tree74b5e6d967d7878eb459c8dc49e6e574d521d6cc /utils
parentc1ac41693709a23f9a92a86204835159c4c235bc (diff)
parentd6eaa7bd0efb5778231426d2c7f913e7e1a3a3a6 (diff)
Merge "correct swagger model of TestAPI"
Diffstat (limited to 'utils')
-rw-r--r--utils/test/testapi/opnfv_testapi/resources/models.py1
-rw-r--r--utils/test/testapi/opnfv_testapi/resources/result_models.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/utils/test/testapi/opnfv_testapi/resources/models.py b/utils/test/testapi/opnfv_testapi/resources/models.py
index a281c66d8..f518c97a0 100644
--- a/utils/test/testapi/opnfv_testapi/resources/models.py
+++ b/utils/test/testapi/opnfv_testapi/resources/models.py
@@ -70,6 +70,7 @@ class ModelBase(object):
return t
+@swagger.model()
class CreateResponse(ModelBase):
def __init__(self, href=''):
self.href = href
diff --git a/utils/test/testapi/opnfv_testapi/resources/result_models.py b/utils/test/testapi/opnfv_testapi/resources/result_models.py
index 30119020b..50445fc22 100644
--- a/utils/test/testapi/opnfv_testapi/resources/result_models.py
+++ b/utils/test/testapi/opnfv_testapi/resources/result_models.py
@@ -112,7 +112,7 @@ class TestResult(models.ModelBase):
@swagger.model()
class TestResults(models.ModelBase):
"""
- @property rgit esults:
+ @property results:
@ptype results: C{list} of L{TestResult}
"""
def __init__(self):