You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume there is a route expecting an array parameter in the body of a multipart/form-data request with collectionFormat: "multi"
Currently in the master branch, when multiple parts are passed which names match that parameter, only a single value is present in the List passed to the controller of that route.
Assume there is a route expecting an array parameter in the body of a
multipart/form-data
request withcollectionFormat: "multi"
Currently in the master branch, when multiple parts are passed which names match that parameter, only a single value is present in the List passed to the controller of that route.
This is probably caused by the method which stores the different parts into a Map: https://github.com/swagger-api/swagger-inflector/blob/master/src/main/java/io/swagger/inflector/controllers/SwaggerOperationController.java#L212
For instance, this spec:
...with this controller:
...and this request payload with three values "sleeping", "napping" and "procrastinating" for the
status
parameter:...results in an ArrayList containing the last value, "procrastinating":
The text was updated successfully, but these errors were encountered: