diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-10 10:09:21 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-10 11:03:34 +0800 |
commit | 942e19eca5228602a2ee73b0d4ef12d2e04ee6f1 (patch) | |
tree | 6a81c704561f32b0abfe6b9d6f10bf2c3af514dd /utils/test/testapi/opnfv_testapi/tornado_swagger/settings.py | |
parent | 9156b12831162f63453d75376d8db0074266c658 (diff) |
change swagger urls based on v1.2 specification
According to swagger1.2 specification, The Swagger specification
is comprised of two file types: The Resources Listing and The
API Declaration.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md
Change-Id: I8f92897e41dbf6d4d2c3b1fe64ea6729f04cf3ad
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/tornado_swagger/settings.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/tornado_swagger/settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/testapi/opnfv_testapi/tornado_swagger/settings.py b/utils/test/testapi/opnfv_testapi/tornado_swagger/settings.py index 88d0d0f88..753029709 100644 --- a/utils/test/testapi/opnfv_testapi/tornado_swagger/settings.py +++ b/utils/test/testapi/opnfv_testapi/tornado_swagger/settings.py @@ -10,8 +10,8 @@ import os.path SWAGGER_VERSION = '1.2' SWAGGER_API_DOCS = 'swagger-api-docs' -SWAGGER_API_LIST = 'swagger-api-list' -SWAGGER_API_SPEC = 'swagger-api-spec' +SWAGGER_RESOURCE_LISTING = 'swagger-resource-listing' +SWAGGER_API_DECLARATION = 'swagger-api-declaration' STATIC_PATH = os.path.join(os.path.dirname(os.path.normpath(__file__)), 'static') |