add oauth support in python

This commit is contained in:
wing328
2015-10-27 18:54:08 +08:00
parent 2778857714
commit 89ec500744
3 changed files with 16 additions and 3 deletions

View File

@@ -409,7 +409,7 @@ class PetApi(object):
select_header_content_type([])
# Authentication setting
auth_settings = ['api_key', 'petstore_auth']
auth_settings = ['api_key']
response = self.api_client.call_api(resource_path, method,
path_params,

View File

@@ -220,6 +220,7 @@ class Configuration(object):
'key': 'api_key',
'value': self.get_api_key_with_prefix('api_key')
},
}
def to_debug_report(self):