fix for #596
This commit is contained in:
@@ -245,7 +245,7 @@ SwaggerClient.prototype.build = function() {
|
||||
}
|
||||
};
|
||||
var e = (typeof window !== 'undefined' ? window : exports);
|
||||
e.authorizations.apply(obj);
|
||||
var status = e.authorizations.apply(obj);
|
||||
new SwaggerHttp().execute(obj);
|
||||
return this;
|
||||
};
|
||||
@@ -626,6 +626,8 @@ Operation.prototype.execute = function(arg1, arg2, arg3, arg4, parent) {
|
||||
else if (param.in === 'query') {
|
||||
if(querystring === '')
|
||||
querystring += '?';
|
||||
else
|
||||
querystring += '&';
|
||||
if(typeof param.collectionFormat !== 'undefined') {
|
||||
var qp = args[param.name];
|
||||
if(Array.isArray(qp))
|
||||
|
||||
Reference in New Issue
Block a user