openapi-generator
openapi-generator copied to clipboard
[REQ] Option to explode lists of query parameters
Is your feature request related to a problem? Please describe.
I have an API (made with FastAPI) that expects lists passed as queries to be exploded, (e.g. ?field=str1&field=str2). I have seen in the source that this is an option, but I can't find a simple way to do this via the command line interface.
Describe the solution you'd like
An option (either a config file or passed through -p) to set explode=true.
Describe alternatives you've considered
Extending the DefaultCodeGen and making my own version or writing a script to edit the generated code after it is created.