@@ -54,7 +54,7 @@ export const PetApiAxiosParamCreator = function (configuration?: Configuration)
54
54
// oauth required
55
55
if ( configuration && configuration . accessToken ) {
56
56
const localVarAccessTokenValue = typeof configuration . accessToken === 'function'
57
- ? await configuration . accessToken ( "petstore_auth" , [ "" ] )
57
+ ? await configuration . accessToken ( "petstore_auth" , [ "write:pets" , "read:pets "] )
58
58
: await configuration . accessToken ;
59
59
localVarHeaderParameter [ "Authorization" ] = "Bearer " + localVarAccessTokenValue ;
60
60
}
@@ -108,7 +108,7 @@ export const PetApiAxiosParamCreator = function (configuration?: Configuration)
108
108
// oauth required
109
109
if ( configuration && configuration . accessToken ) {
110
110
const localVarAccessTokenValue = typeof configuration . accessToken === 'function'
111
- ? await configuration . accessToken ( "petstore_auth" , [ "" ] )
111
+ ? await configuration . accessToken ( "petstore_auth" , [ "write:pets" , "read:pets "] )
112
112
: await configuration . accessToken ;
113
113
localVarHeaderParameter [ "Authorization" ] = "Bearer " + localVarAccessTokenValue ;
114
114
}
@@ -200,7 +200,7 @@ export const PetApiAxiosParamCreator = function (configuration?: Configuration)
200
200
// oauth required
201
201
if ( configuration && configuration . accessToken ) {
202
202
const localVarAccessTokenValue = typeof configuration . accessToken === 'function'
203
- ? await configuration . accessToken ( "petstore_auth" , [ "" ] )
203
+ ? await configuration . accessToken ( "petstore_auth" , [ "write:pets" , "read:pets "] )
204
204
: await configuration . accessToken ;
205
205
localVarHeaderParameter [ "Authorization" ] = "Bearer " + localVarAccessTokenValue ;
206
206
}
@@ -252,7 +252,7 @@ export const PetApiAxiosParamCreator = function (configuration?: Configuration)
252
252
// oauth required
253
253
if ( configuration && configuration . accessToken ) {
254
254
const localVarAccessTokenValue = typeof configuration . accessToken === 'function'
255
- ? await configuration . accessToken ( "petstore_auth" , [ "" ] )
255
+ ? await configuration . accessToken ( "petstore_auth" , [ "write:pets" , "read:pets "] )
256
256
: await configuration . accessToken ;
257
257
localVarHeaderParameter [ "Authorization" ] = "Bearer " + localVarAccessTokenValue ;
258
258
}
@@ -422,7 +422,7 @@ export const PetApiAxiosParamCreator = function (configuration?: Configuration)
422
422
// oauth required
423
423
if ( configuration && configuration . accessToken ) {
424
424
const localVarAccessTokenValue = typeof configuration . accessToken === 'function'
425
- ? await configuration . accessToken ( "petstore_auth" , [ "" ] )
425
+ ? await configuration . accessToken ( "petstore_auth" , [ "write:pets" , "read:pets "] )
426
426
: await configuration . accessToken ;
427
427
localVarHeaderParameter [ "Authorization" ] = "Bearer " + localVarAccessTokenValue ;
428
428
}
@@ -478,7 +478,7 @@ export const PetApiAxiosParamCreator = function (configuration?: Configuration)
478
478
// oauth required
479
479
if ( configuration && configuration . accessToken ) {
480
480
const localVarAccessTokenValue = typeof configuration . accessToken === 'function'
481
- ? await configuration . accessToken ( "petstore_auth" , [ "" ] )
481
+ ? await configuration . accessToken ( "petstore_auth" , [ "write:pets" , "read:pets "] )
482
482
: await configuration . accessToken ;
483
483
localVarHeaderParameter [ "Authorization" ] = "Bearer " + localVarAccessTokenValue ;
484
484
}
@@ -540,7 +540,7 @@ export const PetApiAxiosParamCreator = function (configuration?: Configuration)
540
540
// oauth required
541
541
if ( configuration && configuration . accessToken ) {
542
542
const localVarAccessTokenValue = typeof configuration . accessToken === 'function'
543
- ? await configuration . accessToken ( "petstore_auth" , [ "" ] )
543
+ ? await configuration . accessToken ( "petstore_auth" , [ "write:pets" , "read:pets "] )
544
544
: await configuration . accessToken ;
545
545
localVarHeaderParameter [ "Authorization" ] = "Bearer " + localVarAccessTokenValue ;
546
546
}
0 commit comments