Skip to content

Commit

Permalink
Issue 986: explode query params when style=form, test for string param
Browse files Browse the repository at this point in the history
  • Loading branch information
walaniam committed Jan 15, 2025
1 parent e360eb7 commit 4694503
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ void shouldExplodePojoQueryParam() throws IOException {

assertThat(lines)
.contains("public ResponseEntity<Void> getWithPojosInQueryWithHttpInfo(String simpleParam, MyPojo pojoParam) throws RestClientException {")
.contains("localVarQueryParams.putAll(apiClient.parameterToMultiValueMap(null, \"simpleParam\", simpleParam));")
.contains("localVarQueryParams.putAll(apiClient.parameterToMultiValueMap(null, \"field1\", pojoParam.getField1()));")
.contains("localVarQueryParams.putAll(apiClient.parameterToMultiValueMap(null, \"field2\", pojoParam.getField2()));");
}
Expand Down

0 comments on commit 4694503

Please sign in to comment.