diff --git a/modules/openapi-generator/src/main/resources/powershell/api_client.mustache b/modules/openapi-generator/src/main/resources/powershell/api_client.mustache index e9c5df5648f..f760c7d5f56 100644 --- a/modules/openapi-generator/src/main/resources/powershell/api_client.mustache +++ b/modules/openapi-generator/src/main/resources/powershell/api_client.mustache @@ -132,7 +132,7 @@ function Invoke-{{{apiNamePrefix}}}ApiClient { if ($null -ne $Proxy) { $effectiveProxy = $Proxy.GetProxy($UriBuilder.Uri) - # do not set proxy if it is null or same as target Uri + # do not set proxy if it is null or same as target Uri if ($null -ne $effectiveProxy -and $effectiveProxy.AbsoluteUri -ne $UriBuilder.Uri) { $Params.Proxy = $effectiveProxy.AbsoluteUri $Params.ProxyUseDefaultCredentials = $true diff --git a/samples/client/echo_api/powershell/src/PSOpenAPITools/Private/ApiClient.ps1 b/samples/client/echo_api/powershell/src/PSOpenAPITools/Private/ApiClient.ps1 index 10f81382c88..06bd189facf 100644 --- a/samples/client/echo_api/powershell/src/PSOpenAPITools/Private/ApiClient.ps1 +++ b/samples/client/echo_api/powershell/src/PSOpenAPITools/Private/ApiClient.ps1 @@ -120,7 +120,7 @@ function Invoke-ApiClient { if ($null -ne $Proxy) { $effectiveProxy = $Proxy.GetProxy($UriBuilder.Uri) - # do not set proxy if it is null or same as target Uri + # do not set proxy if it is null or same as target Uri if ($null -ne $effectiveProxy -and $effectiveProxy.AbsoluteUri -ne $UriBuilder.Uri) { $Params.Proxy = $effectiveProxy.AbsoluteUri $Params.ProxyUseDefaultCredentials = $true diff --git a/samples/client/petstore/powershell/src/PSPetstore/Private/PSApiClient.ps1 b/samples/client/petstore/powershell/src/PSPetstore/Private/PSApiClient.ps1 index c3e71fa7894..3b60185eee7 100755 --- a/samples/client/petstore/powershell/src/PSPetstore/Private/PSApiClient.ps1 +++ b/samples/client/petstore/powershell/src/PSPetstore/Private/PSApiClient.ps1 @@ -136,7 +136,7 @@ function Invoke-PSApiClient { if ($null -ne $Proxy) { $effectiveProxy = $Proxy.GetProxy($UriBuilder.Uri) - # do not set proxy if it is null or same as target Uri + # do not set proxy if it is null or same as target Uri if ($null -ne $effectiveProxy -and $effectiveProxy.AbsoluteUri -ne $UriBuilder.Uri) { $Params.Proxy = $effectiveProxy.AbsoluteUri $Params.ProxyUseDefaultCredentials = $true