Fix JS test using baseName in default value (#5)

* fix js test using baseName in default value

* re-enable JS test
This commit is contained in:
William Cheng
2018-05-13 10:19:16 +08:00
committed by GitHub
parent e33f9e52b2
commit d80e295852
46 changed files with 19 additions and 2005 deletions

View File

@@ -3,12 +3,11 @@
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Codegen version: 2.3.0-SNAPSHOT
* OpenAPI Generator version: 3.0.0-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -23,15 +22,15 @@
factory(require('expect.js'), require('../../src/index'));
} else {
// Browser globals (root is window)
factory(root.expect, root.OpenAPIPetstore);
factory(root.expect, root.OpenApiPetstore);
}
}(this, function(expect, OpenAPIPetstore) {
}(this, function(expect, OpenApiPetstore) {
'use strict';
var instance;
beforeEach(function() {
instance = new OpenAPIPetstore.AnotherFakeApi();
instance = new OpenApiPetstore.AnotherFakeApi();
});
var getProperty = function(object, getter, property) {

View File

@@ -3,12 +3,11 @@
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Codegen version: 2.3.0-SNAPSHOT
* OpenAPI Generator version: 3.0.0-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -23,15 +22,15 @@
factory(require('expect.js'), require('../../src/index'));
} else {
// Browser globals (root is window)
factory(root.expect, root.OpenAPIPetstore);
factory(root.expect, root.OpenApiPetstore);
}
}(this, function(expect, OpenAPIPetstore) {
}(this, function(expect, OpenApiPetstore) {
'use strict';
var instance;
beforeEach(function() {
instance = new OpenAPIPetstore.FakeClassnameTags123Api();
instance = new OpenApiPetstore.FakeClassnameTags123Api();
});
var getProperty = function(object, getter, property) {