Merge 244a3f0ae698ce3a11cd11c38619b87cc03dacf6 into d6c46342693205f0dae441b45742d9c85d41cf33

This commit is contained in:
jmrieger 2025-05-10 07:09:48 +02:00 committed by GitHub
commit c1fbe53520
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -133,7 +133,7 @@ export class {{classname}} {
{{/isBasicBearer}} {{/isBasicBearer}}
{{#isOAuth}} {{#isOAuth}}
set accessToken(token: string) { set accessToken{{name}}(token: string) {
this.authentications.{{name}}.accessToken = token; this.authentications.{{name}}.accessToken = token;
} }
{{/isOAuth}} {{/isOAuth}}

View File

@ -86,7 +86,7 @@ export class StoreApi {
(this.authentications as any)[StoreApiApiKeys[key]].apiKey = value; (this.authentications as any)[StoreApiApiKeys[key]].apiKey = value;
} }
set accessToken(token: string) { set accessTokenpetstore_auth(token: string) {
this.authentications.petstore_auth.accessToken = token; this.authentications.petstore_auth.accessToken = token;
} }

View File

@ -86,7 +86,7 @@ export class UserApi {
(this.authentications as any)[UserApiApiKeys[key]].apiKey = value; (this.authentications as any)[UserApiApiKeys[key]].apiKey = value;
} }
set accessToken(token: string) { set accessTokenpetstore_auth(token: string) {
this.authentications.petstore_auth.accessToken = token; this.authentications.petstore_auth.accessToken = token;
} }

View File

@ -87,7 +87,7 @@ export class PetApi {
(this.authentications as any)[PetApiApiKeys[key]].apiKey = value; (this.authentications as any)[PetApiApiKeys[key]].apiKey = value;
} }
set accessToken(token: string) { set accessTokenpetstore_auth(token: string) {
this.authentications.petstore_auth.accessToken = token; this.authentications.petstore_auth.accessToken = token;
} }

View File

@ -86,7 +86,7 @@ export class StoreApi {
(this.authentications as any)[StoreApiApiKeys[key]].apiKey = value; (this.authentications as any)[StoreApiApiKeys[key]].apiKey = value;
} }
set accessToken(token: string) { set accessTokenpetstore_auth(token: string) {
this.authentications.petstore_auth.accessToken = token; this.authentications.petstore_auth.accessToken = token;
} }

View File

@ -86,7 +86,7 @@ export class UserApi {
(this.authentications as any)[UserApiApiKeys[key]].apiKey = value; (this.authentications as any)[UserApiApiKeys[key]].apiKey = value;
} }
set accessToken(token: string) { set accessTokenpetstore_auth(token: string) {
this.authentications.petstore_auth.accessToken = token; this.authentications.petstore_auth.accessToken = token;
} }