OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
[ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Open api generator where the code generated gives parameter of type CSVParams gives wrong default implementation, it should create the CSVParams class but instead it is @Query("sort") sort: CSVParams? = arrayListOf("date:desc")
Bug Report Checklist
Description
Open api generator where the code generated gives parameter of type
CSVParams
gives wrong default implementation, it should create theCSVParams
class but instead it is@Query("sort") sort: CSVParams? = arrayListOf("date:desc")
openapi-generator version
7.6.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
openApiGenerate {}
Related issues/PRs
Suggest a fix
Default value of
CSVParams
should create an instance ofCSVParams
class instead ofArrayList