forked from loafle/openapi-generator-original
Tabs removed
This commit is contained in:
parent
b14ff289b6
commit
5d7a70a972
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user