[BUG][Java][restclient,resttemplate,webclient] explode
not applied to array values inside a parameter object
#20126
Labels
explode
not applied to array values inside a parameter object
#20126
Bug Report Checklist
Description
explode: true
does not cause array values to be exploded when given inside a parameter object, as it does using thenative
orapache-httpclient
library.Example:
PagingParams = { sort: [ 'amount,desc', 'name,asc'] }
-- a typical Pageable object in Spring WebGenerated query string using library
restclient
,resttemplate
orwebclient
:❌
/api/search?sort=amount,desc,name,asc
Generated query string using library
native
orapache-httpclient
:✅
/api/search?sort=amount,desc&sort=name,asc
openapi-generator version
v7.9.0
OpenAPI declaration file content or url
Generation Details
✅ generated DefaultApi.java using library
native
orapache-httpclient
:❌ generated DefaultApi.java using library
restclient
orwebclient
❌ generated DefaultApi.java using using library
resttemplate
Steps to reproduce
The text was updated successfully, but these errors were encountered: