forked from loafle/openapi-generator-original
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:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user