File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
modules/openapi-generator/src/main/resources/powershell
echo_api/powershell/src/PSOpenAPITools/Private
petstore/powershell/src/PSPetstore/Private Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ function Invoke-{{{apiNamePrefix}}}ApiClient {
7676 # construct URL query string
7777 $HttpValues = [System.Web.HttpUtility]::ParseQueryString([String]::Empty)
7878 foreach ($Parameter in $QueryParameters.GetEnumerator()) {
79- if ($Parameter .Value.Count -gt 1) { // array
79+ if ($Parameter .Value.Count -gt 1) { # array
8080 foreach ($Value in $Parameter .Value) {
8181 $HttpValues .Add($Parameter .Key + ' []' , $Value )
8282 }
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function Invoke-ApiClient {
8383 # construct URL query string
8484 $HttpValues = [System.Web.HttpUtility ]::ParseQueryString([String ]::Empty)
8585 foreach ($Parameter in $QueryParameters.GetEnumerator ()) {
86- if ($Parameter.Value.Count -gt 1 ) { // array
86+ if ($Parameter.Value.Count -gt 1 ) { # array
8787 foreach ($Value in $Parameter.Value ) {
8888 $HttpValues.Add ($Parameter.Key + ' []' , $Value )
8989 }
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ function Invoke-PSApiClient {
8282 # construct URL query string
8383 $HttpValues = [System.Web.HttpUtility ]::ParseQueryString([String ]::Empty)
8484 foreach ($Parameter in $QueryParameters.GetEnumerator ()) {
85- if ($Parameter.Value.Count -gt 1 ) { // array
85+ if ($Parameter.Value.Count -gt 1 ) { # array
8686 foreach ($Value in $Parameter.Value ) {
8787 $HttpValues.Add ($Parameter.Key + ' []' , $Value )
8888 }
You can’t perform that action at this time.
0 commit comments