Open ViacheslavKlavdiiev opened 9 months ago
Different server-side technologies handle request parameters differently. Having multiple times the same parameter being sent is the same as having an array. Personally, I work with Java in the backend and application servers always work like this. The way request is generated is correct IMHO.
ng-openapi-gen v0.51.0
Describe the bug you're encountering When you have a path definition of a multipart/form-data with a schema that contains an array and you pass just one element in this array, the backend receives a single value and not an array with just one element.
Request with one link
Request with 2 links
In my case link should be Array with strings
Problem with this function
Need to add something like this
Request with fix and one link
Could you please check this issue and provide a decision for my case with 'multipart/form-data' ?