api-client-generator
api-client-generator copied to clipboard
Enable multiple serialisation strategies
Support multiple array (object?) serialization strategies for the (query) parameters and headers
- [ ] create a wrapper function that will handle the serialisation based on the supported
collectionFormatformats- Possible values are:
- csv - (default) comma separated values
foo,bar. - ssv - space-separated values
foo bar. - tsv - tab separated values
foo\tbar. - pipes - pipe separated values
foo|bar. - multi - multiple parameter instances instead of multiple values for a single instance
foo=bar&foo=baz. This is valid only for parameters in "query" or "formData".
- csv - (default) comma separated values
- Possible values are:
- [ ] configuration or function itself should be providable/configurable via DI
- [ ] research what is the preferred/best way to serialize objects
- JSON.stringyfy might be needed for the objects
A related issue with angular API client itself https://github.com/angular/angular/issues/19071