Is your feature request related to a problem? Please describe.
Cannot consume . notation query parameters objects in a current project.
Describe the solution you'd like
Extend support to include option to configure how objects are encoded in query parameters. To include options for nested keys and JSON string.
Describe alternatives you've considered
Support . notation in current project but that would not solve the issue for others.
Additional context
Suggest change (as an option):
|
httpParams, value[k], key != null ? `${key}.${k}` : k)); |
key != null ? `${key}[${k}]` : k,
Also, add option to JSON stringify the object.
See: #4407
Is your feature request related to a problem? Please describe.
Cannot consume
. notationquery parameters objects in a current project.Describe the solution you'd like
Extend support to include option to configure how objects are encoded in query parameters. To include options for
nested keysandJSON string.Describe alternatives you've considered
Support
. notationin current project but that would not solve the issue for others.Additional context
Suggest change (as an option):
openapi-generator/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache
Line 181 in 603709e
Also, add option to JSON stringify the object.
See: #4407