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 ##############################################################################
11 SWAGGER_VERSION = '1.2'
12 SWAGGER_API_DOCS = 'swagger-api-docs'
13 SWAGGER_API_LIST = 'swagger-api-list'
14 SWAGGER_API_SPEC = 'swagger-api-spec'
15 STATIC_PATH = os.path.join(os.path.dirname(os.path.normpath(__file__)),
20 'static_path': STATIC_PATH,
21 'swagger_prefix': '/swagger',
22 'api_version': 'v1.0',
24 'enabled_methods': ['get', 'post', 'put', 'patch', 'delete'],
25 'exclude_namespaces': [],