Merge "Allow Asynchronous Apex Builds"
[releng.git] / utils / test / testapi / opnfv_testapi / tornado_swagger / settings.py
1 ##############################################################################
2 # Copyright (c) 2016 ZTE Corporation
3 # feng.xiaowei@zte.com.cn
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 import os.path
10
11 API_DOCS_NAME = 'swagger-api-docs'
12 RESOURCE_LISTING_NAME = 'swagger-resource-listing'
13 API_DECLARATION_NAME = 'swagger-api-declaration'
14 STATIC_PATH = os.path.join(os.path.dirname(os.path.normpath(__file__)),
15                            'static')
16
17 docs_settings = {
18     'base_url': '',
19     'static_path': STATIC_PATH,
20     'swagger_prefix': '/swagger',
21     'api_version': 'v1.0',
22     'swagger_version': '1.2',
23     'api_key': '',
24     'enabled_methods': ['get', 'post', 'put', 'patch', 'delete'],
25     'exclude_namespaces': [],
26 }
27
28 models = []