forked from loafle/openapi-generator-original
rename hasBearerMethods to hasHttpBearerMethods (#15259)
This commit is contained in:
parent
9b2917f3a9
commit
e3fdac0711
@ -229,11 +229,11 @@ conf = {{{packageName}}}.Configuration(
|
||||
"""
|
||||
{{/hasOAuthMethods}}
|
||||
{{^hasOAuthMethods}}
|
||||
{{#hasBearerMethods}}
|
||||
{{#hasHttpBearerMethods}}
|
||||
self.access_token = None
|
||||
"""access token for OAuth/Bearer
|
||||
"""
|
||||
{{/hasBearerMethods}}
|
||||
{{/hasHttpBearerMethods}}
|
||||
{{/hasOAuthMethods}}
|
||||
self.logger = {}
|
||||
"""Logging Settings
|
||||
|
@ -199,11 +199,11 @@ conf = {{{packageName}}}.Configuration(
|
||||
"""
|
||||
{{/hasOAuthMethods}}
|
||||
{{^hasOAuthMethods}}
|
||||
{{#hasBearerMethods}}
|
||||
{{#hasHttpBearerMethods}}
|
||||
self.access_token = None
|
||||
"""access token for OAuth/Bearer
|
||||
"""
|
||||
{{/hasBearerMethods}}
|
||||
{{/hasHttpBearerMethods}}
|
||||
{{/hasOAuthMethods}}
|
||||
self.logger = {}
|
||||
"""Logging Settings
|
||||
|
@ -182,7 +182,7 @@ conf = {{{packageName}}}.Configuration(
|
||||
server_variables=None,
|
||||
server_operation_index=None,
|
||||
server_operation_variables=None,
|
||||
{{#or hasOAuthMethods hasBearerMethods}}
|
||||
{{#or hasOAuthMethods hasHttpBearerMethods}}
|
||||
access_token=None,
|
||||
{{/or}}
|
||||
):
|
||||
@ -235,7 +235,7 @@ conf = {{{packageName}}}.Configuration(
|
||||
"""The HTTP signing configuration
|
||||
"""
|
||||
{{/if}}
|
||||
{{#or hasOAuthMethods hasBearerMethods}}
|
||||
{{#or hasOAuthMethods hasHttpBearerMethods}}
|
||||
self.access_token = None
|
||||
"""access token for OAuth/Bearer
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user