summaryrefslogtreecommitdiffstats
path: root/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
commit2a0945fb2e5b0399c7e1fc9061c601a145454186 (patch)
tree52274f949ebbc74b3f1e04525fd2ad13e421fd5c /testapi/opnfv_testapi/resources/scenario_models.py
parente89188adacacb72c11f557168f7ee48175c93837 (diff)
bugfix: fail to generate APIs document
Change-Id: I13c91fb34e190cd62400eccec6b755419aad89d1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/resources/scenario_models.py')
-rw-r--r--testapi/opnfv_testapi/resources/scenario_models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/resources/scenario_models.py b/testapi/opnfv_testapi/resources/scenario_models.py
index ec262aa..c6da76b 100644
--- a/testapi/opnfv_testapi/resources/scenario_models.py
+++ b/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: