forked from loafle/openapi-generator-original
add test case to python, better resered word handling for objc
This commit is contained in:
@@ -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')
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user