add test case to python, better resered word handling for objc

This commit is contained in:
wing328
2016-02-25 20:09:58 +08:00
parent a351724365
commit 2d4ccbfd79
18 changed files with 377 additions and 198 deletions

View File

@@ -217,6 +217,13 @@ class Configuration(object):
:return: The Auth Settings information dict.
"""
return {
'test_api_key_header':
{
'type': 'api_key',
'in': 'header',
'key': 'test_api_key_header',
'value': self.get_api_key_with_prefix('test_api_key_header')
},
'api_key':
{
'type': 'api_key',
@@ -224,6 +231,27 @@ class Configuration(object):
'key': 'api_key',
'value': self.get_api_key_with_prefix('api_key')
},
'test_api_client_secret':
{
'type': 'api_key',
'in': 'header',
'key': 'x-test_api_client_secret',
'value': self.get_api_key_with_prefix('x-test_api_client_secret')
},
'test_api_client_id':
{
'type': 'api_key',
'in': 'header',
'key': 'x-test_api_client_id',
'value': self.get_api_key_with_prefix('x-test_api_client_id')
},
'test_api_key_query':
{
'type': 'api_key',
'in': 'query',
'key': 'test_api_key_query',
'value': self.get_api_key_with_prefix('test_api_key_query')
},
}