forked from loafle/openapi-generator-original
Fix 'isOauth' to 'isOAuth' in python template
This commit is contained in:
@@ -219,7 +219,7 @@ class Configuration(object):
|
||||
'key': 'Authorization',
|
||||
'value': self.get_basic_auth_token()
|
||||
},
|
||||
{{/isBasic}}{{#isOauth}}
|
||||
{{/isBasic}}{{#isOAuth}}
|
||||
'{{name}}':
|
||||
{
|
||||
'type': 'oauth2',
|
||||
@@ -227,7 +227,7 @@ class Configuration(object):
|
||||
'key': 'Authorization',
|
||||
'value': 'Bearer ' + self.access_token
|
||||
},
|
||||
{{/isOauth}}{{/authMethods}}
|
||||
{{/isOAuth}}{{/authMethods}}
|
||||
}
|
||||
|
||||
def to_debug_report(self):
|
||||
|
||||
Reference in New Issue
Block a user