diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js index d64e532f..391a1e35 100644 --- a/dist/swagger-ui.js +++ b/dist/swagger-ui.js @@ -4244,7 +4244,7 @@ Operation.prototype.getBody = function (headers, args, opts) { } // handle form params - if (headers['Content-Type'] === 'application/x-www-form-urlencoded') { + if (headers['Content-Type'] === 'application/x-www-form-urlencoded' && param.in === 'formData') { var encoded = ''; for (key in formParams) { @@ -32278,4 +32278,4 @@ SwaggerUi.Views.StatusCodeView = Backbone.View.extend({ } return this; } -});}).call(this); \ No newline at end of file +});}).call(this);