This commit is contained in:
Tony Tam
2014-09-22 21:55:48 -07:00
parent 82e9ceaca6
commit da661827bf
2 changed files with 6 additions and 2 deletions

View File

@@ -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))