From c5b9cdce558067ad21ff89c32424979c34479096 Mon Sep 17 00:00:00 2001 From: Marco Ottolini Date: Tue, 22 Sep 2020 16:52:17 +0300 Subject: [PATCH] fix(context): https://github.com/swagger-api/swagger-js/issues/1728 --- src/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.js b/src/http.js index 9fbfe7cb5..1b79c6d68 100644 --- a/src/http.js +++ b/src/http.js @@ -347,7 +347,7 @@ function buildFormData(reqForm) { if (Array.isArray(value)) { // eslint-disable-next-line no-restricted-syntax for (const v of value) { - formData.append(key, v); + formData.append(`${key}[]`, v); } } else { formData.append(key, value);