summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py')
-rw-r--r--utils/test/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py b/utils/test/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py
new file mode 100644
index 000000000..8f43c4a96
--- /dev/null
+++ b/utils/test/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+import os.path
+
+__author__ = 'serena'
+
+SWAGGER_VERSION = '1.2'
+
+SWAGGER_API_DOCS = 'swagger-api-docs'
+SWAGGER_API_LIST = 'swagger-api-list'
+SWAGGER_API_SPEC = 'swagger-api-spec'
+
+STATIC_PATH = os.path.join(os.path.dirname(os.path.normpath(__file__)),
+ 'static')
+
+default_settings = {
+ 'base_url': '/',
+ 'static_path': STATIC_PATH,
+ 'swagger_prefix': '/swagger',
+ 'api_version': 'v1.0',
+ 'api_key': '',
+ 'enabled_methods': ['get', 'post', 'put', 'patch', 'delete'],
+ 'exclude_namespaces': [],
+}
+
+models = []