summaryrefslogtreecommitdiffstats
path: root/api/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/views.py')
-rw-r--r--api/views.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/api/views.py b/api/views.py
index 69ca89186..eb81145fc 100644
--- a/api/views.py
+++ b/api/views.py
@@ -30,7 +30,7 @@ class Asynctask(ApiResource):
class ReleaseAction(ApiResource):
- @swag_from(os.getcwd() + '/swagger/docs/testcases.yaml')
+ @swag_from(os.getcwd() + '/swagger/docs/release_action.yaml')
def post(self):
return self._dispatch_post()
@@ -40,6 +40,18 @@ class SamplesAction(ApiResource):
return self._dispatch_post()
+TestSuiteActionModel = models.TestSuiteActionModel
+TestSuiteActionArgsModel = models.TestSuiteActionArgsModel
+TestSuiteActionArgsOptsModel = models.TestSuiteActionArgsOptsModel
+TestSuiteActionArgsOptsTaskArgModel = models.TestSuiteActionArgsOptsTaskArgModel
+
+
+class TestsuitesAction(ApiResource):
+ @swag_from(os.getcwd() + '/swagger/docs/testsuites_action.yaml')
+ def post(self):
+ return self._dispatch_post()
+
+
ResultModel = models.ResultModel