diff options
Diffstat (limited to 'result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py')
-rw-r--r-- | result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py b/result_collection_api/opnfv_testapi/tornado_swagger_ui/tornado_swagger/settings.py new file mode 100644 index 0000000..8f43c4a --- /dev/null +++ b/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 = [] |