Add fixes for es6 generator (#180)

Various fixes for JS (ES6) generator
This commit is contained in:
delenius
2018-06-16 10:59:23 -07:00
committed by William Cheng
parent 53d9878cf2
commit c607ea8b31
194 changed files with 8532 additions and 5008 deletions

View File

@@ -81,7 +81,7 @@
var authNames = [];
var contentTypes = [];
var accepts = ['*/*'];
var returnType = Boolean;
var returnType = 'Boolean';
return this.apiClient.callApi(
'/fake/outer/boolean', 'POST',
@@ -167,7 +167,7 @@
var authNames = [];
var contentTypes = [];
var accepts = ['*/*'];
var returnType = Number;
var returnType = 'Number';
return this.apiClient.callApi(
'/fake/outer/number', 'POST',
@@ -210,7 +210,7 @@
var authNames = [];
var contentTypes = [];
var accepts = ['*/*'];
var returnType = String;
var returnType = 'String';
return this.apiClient.callApi(
'/fake/outer/string', 'POST',

View File

@@ -126,7 +126,7 @@
var authNames = ['api_key'];
var contentTypes = [];
var accepts = ['application/json'];
var returnType = {String: Number};
var returnType = {'String': 'Number'};
return this.apiClient.callApi(
'/store/inventory', 'GET',

View File

@@ -322,7 +322,7 @@
var authNames = [];
var contentTypes = [];
var accepts = ['application/xml', 'application/json'];
var returnType = String;
var returnType = 'String';
return this.apiClient.callApi(
'/user/login', 'GET',