add travis.yml for python api client

This commit is contained in:
wing328
2016-06-17 00:41:40 +08:00
parent e501287036
commit f9eef2c825
5 changed files with 37 additions and 20 deletions

View File

@@ -221,6 +221,13 @@ class Configuration(object):
:return: The Auth Settings information dict.
"""
return {
'api_key':
{
'type': 'api_key',
'in': 'header',
'key': 'api_key',
'value': self.get_api_key_with_prefix('api_key')
},
'petstore_auth':
{
@@ -229,13 +236,6 @@ class Configuration(object):
'key': 'Authorization',
'value': 'Bearer ' + self.access_token
},
'api_key':
{
'type': 'api_key',
'in': 'header',
'key': 'api_key',
'value': self.get_api_key_with_prefix('api_key')
},
}