summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/resources/scenario_models.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-08-24 18:18:27 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-08-24 18:18:27 +0800
commit707ea14579a969fa6266aab2f8fafb2f095b0806 (patch)
tree51dc881bd34745a65e4da7cb265a3806742631ff /utils/test/testapi/opnfv_testapi/resources/scenario_models.py
parentff4bea4e2b40ca32fd6921f2f560014dcb51fa3e (diff)
bugfix: fail to generate APIs document
Change-Id: I13c91fb34e190cd62400eccec6b755419aad89d1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/resources/scenario_models.py')
-rw-r--r--utils/test/testapi/opnfv_testapi/resources/scenario_models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/resources/scenario_models.py b/utils/test/testapi/opnfv_testapi/resources/scenario_models.py
index ec262aa2f..c6da76b81 100644
--- a/utils/test/testapi/opnfv_testapi/resources/scenario_models.py
+++ b/utils/test/testapi/opnfv_testapi/resources/scenario_models.py
@@ -161,6 +161,12 @@ class ScenarioCreateRequest(models.ModelBase):
@swagger.model()
+class ScenarioChangeOwnerRequest(models.ModelBase):
+ def __init__(self, owner=None):
+ self.owner = owner
+
+
+@swagger.model()
class Scenario(models.ModelBase):
"""
@property installers: