forked from loafle/openapi-generator-original
update python to use test spec
This commit is contained in:
@@ -217,13 +217,6 @@ 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',
|
||||
@@ -231,34 +224,6 @@ class Configuration(object):
|
||||
'key': 'api_key',
|
||||
'value': self.get_api_key_with_prefix('api_key')
|
||||
},
|
||||
'test_http_basic':
|
||||
{
|
||||
'type': 'basic',
|
||||
'in': 'header',
|
||||
'key': 'Authorization',
|
||||
'value': self.get_basic_auth_token()
|
||||
},
|
||||
'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