eliminate flake8 violation in testAPI except dashboard dir
[releng.git] / utils / test / result_collection_api / tornado_swagger_ui / tornado_swagger / settings.py
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 import os.path
4
5 __author__ = 'serena'
6
7 SWAGGER_VERSION = '1.2'
8
9 SWAGGER_API_DOCS = 'swagger-api-docs'
10 SWAGGER_API_LIST = 'swagger-api-list'
11 SWAGGER_API_SPEC = 'swagger-api-spec'
12
13 STATIC_PATH = os.path.join(os.path.dirname(os.path.normpath(__file__)),
14                            'static')
15
16 default_settings = {
17     'base_url': '/',
18     'static_path': STATIC_PATH,
19     'swagger_prefix': '/swagger',
20     'api_version': 'v1.0',
21     'api_key': '',
22     'enabled_methods': ['get', 'post', 'put', 'patch', 'delete'],
23     'exclude_namespaces': [],
24 }
25
26 models = []