From 5d7a70a972a9bbafadab8de48cf7908d0e6e20ac Mon Sep 17 00:00:00 2001 From: condorcorde Date: Sun, 7 Apr 2024 11:37:34 +0200 Subject: [PATCH] Tabs removed --- .../src/main/resources/powershell/api_client.mustache | 2 +- .../powershell/src/PSOpenAPITools/Private/ApiClient.ps1 | 2 +- .../petstore/powershell/src/PSPetstore/Private/PSApiClient.ps1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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