File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
modules/openapi-generator/src/main/resources/typescript/auth Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export class {{#lambda.pascalcase}}{{name}}{{/lambda.pascalcase}}Authentication
85
85
86
86
public { {#isBasicBearer} }async { {/isBasicBearer} }applySecurityAuthentication(context: RequestContext) {
87
87
{{#isApiKey} }
88
- context.{ {#isKeyInHeader} }setHeaderParam{ {/isKeyInHeader} }{ {#isKeyInQuery} }addCookie { {/isKeyInQuery} }{ {#isKeyInCookie} }setQueryParam { {/isKeyInCookie} }("{ {keyParamName} }", this.apiKey);
88
+ context.{ {#isKeyInHeader} }setHeaderParam{ {/isKeyInHeader} }{ {#isKeyInQuery} }setQueryParam { {/isKeyInQuery} }{ {#isKeyInCookie} }addCookie { {/isKeyInCookie} }("{ {keyParamName} }", this.apiKey);
89
89
{ {/isApiKey} }
90
90
{ {#isBasicBasic} }
91
91
let comb = this.username + ":" + this.password;
You can’t perform that action at this time.
0 commit comments