We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbc442 commit 5dd5720Copy full SHA for 5dd5720
modules/openapi-generator/src/main/resources/powershell-experimental/api.mustache
@@ -179,7 +179,7 @@ function {{{vendorExtensions.x-powershell-method-name}}} {
179
{{/isKeyInCookie}}
180
{{/isApiKey}}
181
{{#isBasicBasic}}
182
- if ($Configuration["Username"] -and $Configuration["Password"]]) {
+ if ($Configuration["Username"] -and $Configuration["Password"]) {
183
$LocalVarBytes = [System.Text.Encoding]::UTF8.GetBytes($Configuration["Username"] + ":" + $Configuration["Password"])
184
$LocalVarBase64Text =[Convert]::ToBase64String($LocalVarBytes)
185
$LocalVarHeaderParameters['Authorization'] = "Basic " + $LocalVarBase64Text
0 commit comments