mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 18:42:45 +00:00
[JS] mark ES5 as deprecated (#6408)
* mark js es5 deprecated, remove samples, migrate samples to use oas3 * update test in pom.xml * update js samples * delete js es5 samples * update js petstore * remove openapi3 js petstore * fix tests * skip test/model/AdditionalPropertiesArray.spec.js * fix test * update doc
This commit is contained in:
@@ -1,65 +0,0 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesAnyType();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('AdditionalPropertiesAnyType', function() {
|
||||
it('should create an instance of AdditionalPropertiesAnyType', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesAnyType
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesAnyType();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesAnyType);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesAnyType();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,65 +0,0 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesBoolean();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('AdditionalPropertiesBoolean', function() {
|
||||
it('should create an instance of AdditionalPropertiesBoolean', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesBoolean
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesBoolean();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesBoolean);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesBoolean();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -54,68 +54,14 @@
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesClass);
|
||||
});
|
||||
|
||||
it('should have the property mapString (base name: "map_string")', function() {
|
||||
// uncomment below and update the code to test the property mapString
|
||||
it('should have the property mapProperty (base name: "map_property")', function() {
|
||||
// uncomment below and update the code to test the property mapProperty
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapNumber (base name: "map_number")', function() {
|
||||
// uncomment below and update the code to test the property mapNumber
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapInteger (base name: "map_integer")', function() {
|
||||
// uncomment below and update the code to test the property mapInteger
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapBoolean (base name: "map_boolean")', function() {
|
||||
// uncomment below and update the code to test the property mapBoolean
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapArrayInteger (base name: "map_array_integer")', function() {
|
||||
// uncomment below and update the code to test the property mapArrayInteger
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapArrayAnytype (base name: "map_array_anytype")', function() {
|
||||
// uncomment below and update the code to test the property mapArrayAnytype
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapMapString (base name: "map_map_string")', function() {
|
||||
// uncomment below and update the code to test the property mapMapString
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapMapAnytype (base name: "map_map_anytype")', function() {
|
||||
// uncomment below and update the code to test the property mapMapAnytype
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property anytype1 (base name: "anytype_1")', function() {
|
||||
// uncomment below and update the code to test the property anytype1
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property anytype2 (base name: "anytype_2")', function() {
|
||||
// uncomment below and update the code to test the property anytype2
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property anytype3 (base name: "anytype_3")', function() {
|
||||
// uncomment below and update the code to test the property anytype3
|
||||
it('should have the property mapOfMapProperty (base name: "map_of_map_property")', function() {
|
||||
// uncomment below and update the code to test the property mapOfMapProperty
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* OpenAPI Petstore
|
||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.BigCat();
|
||||
instance = new OpenApiPetstore.Foo();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -47,16 +47,16 @@
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('BigCat', function() {
|
||||
it('should create an instance of BigCat', function() {
|
||||
// uncomment below and update the code to test BigCat
|
||||
//var instane = new OpenApiPetstore.BigCat();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.BigCat);
|
||||
describe('Foo', function() {
|
||||
it('should create an instance of Foo', function() {
|
||||
// uncomment below and update the code to test Foo
|
||||
//var instane = new OpenApiPetstore.Foo();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Foo);
|
||||
});
|
||||
|
||||
it('should have the property kind (base name: "kind")', function() {
|
||||
// uncomment below and update the code to test the property kind
|
||||
//var instane = new OpenApiPetstore.BigCat();
|
||||
it('should have the property bar (base name: "bar")', function() {
|
||||
// uncomment below and update the code to test the property bar
|
||||
//var instane = new OpenApiPetstore.Foo();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* OpenAPI Petstore
|
||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.BigCatAllOf();
|
||||
instance = new OpenApiPetstore.HealthCheckResult();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -47,16 +47,16 @@
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('BigCatAllOf', function() {
|
||||
it('should create an instance of BigCatAllOf', function() {
|
||||
// uncomment below and update the code to test BigCatAllOf
|
||||
//var instane = new OpenApiPetstore.BigCatAllOf();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.BigCatAllOf);
|
||||
describe('HealthCheckResult', function() {
|
||||
it('should create an instance of HealthCheckResult', function() {
|
||||
// uncomment below and update the code to test HealthCheckResult
|
||||
//var instane = new OpenApiPetstore.HealthCheckResult();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.HealthCheckResult);
|
||||
});
|
||||
|
||||
it('should have the property kind (base name: "kind")', function() {
|
||||
// uncomment below and update the code to test the property kind
|
||||
//var instane = new OpenApiPetstore.BigCatAllOf();
|
||||
it('should have the property nullableMessage (base name: "NullableMessage")', function() {
|
||||
// uncomment below and update the code to test the property nullableMessage
|
||||
//var instane = new OpenApiPetstore.HealthCheckResult();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesNumber();
|
||||
instance = new OpenApiPetstore.InlineObject();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -47,16 +47,22 @@
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('AdditionalPropertiesNumber', function() {
|
||||
it('should create an instance of AdditionalPropertiesNumber', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesNumber
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesNumber();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesNumber);
|
||||
describe('InlineObject', function() {
|
||||
it('should create an instance of InlineObject', function() {
|
||||
// uncomment below and update the code to test InlineObject
|
||||
//var instane = new OpenApiPetstore.InlineObject();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesNumber();
|
||||
//var instane = new OpenApiPetstore.InlineObject();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property status (base name: "status")', function() {
|
||||
// uncomment below and update the code to test the property status
|
||||
//var instane = new OpenApiPetstore.InlineObject();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesString();
|
||||
instance = new OpenApiPetstore.InlineObject1();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -47,16 +47,22 @@
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('AdditionalPropertiesString', function() {
|
||||
it('should create an instance of AdditionalPropertiesString', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesString
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesString();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesString);
|
||||
describe('InlineObject1', function() {
|
||||
it('should create an instance of InlineObject1', function() {
|
||||
// uncomment below and update the code to test InlineObject1
|
||||
//var instane = new OpenApiPetstore.InlineObject1();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject1);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesString();
|
||||
it('should have the property additionalMetadata (base name: "additionalMetadata")', function() {
|
||||
// uncomment below and update the code to test the property additionalMetadata
|
||||
//var instane = new OpenApiPetstore.InlineObject1();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property file (base name: "file")', function() {
|
||||
// uncomment below and update the code to test the property file
|
||||
//var instane = new OpenApiPetstore.InlineObject1();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject2();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('InlineObject2', function() {
|
||||
it('should create an instance of InlineObject2', function() {
|
||||
// uncomment below and update the code to test InlineObject2
|
||||
//var instane = new OpenApiPetstore.InlineObject2();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject2);
|
||||
});
|
||||
|
||||
it('should have the property enumFormStringArray (base name: "enum_form_string_array")', function() {
|
||||
// uncomment below and update the code to test the property enumFormStringArray
|
||||
//var instane = new OpenApiPetstore.InlineObject2();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property enumFormString (base name: "enum_form_string")', function() {
|
||||
// uncomment below and update the code to test the property enumFormString
|
||||
//var instane = new OpenApiPetstore.InlineObject2();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -0,0 +1,143 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject3();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('InlineObject3', function() {
|
||||
it('should create an instance of InlineObject3', function() {
|
||||
// uncomment below and update the code to test InlineObject3
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject3);
|
||||
});
|
||||
|
||||
it('should have the property integer (base name: "integer")', function() {
|
||||
// uncomment below and update the code to test the property integer
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property int32 (base name: "int32")', function() {
|
||||
// uncomment below and update the code to test the property int32
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property int64 (base name: "int64")', function() {
|
||||
// uncomment below and update the code to test the property int64
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _number (base name: "number")', function() {
|
||||
// uncomment below and update the code to test the property _number
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _float (base name: "float")', function() {
|
||||
// uncomment below and update the code to test the property _float
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _double (base name: "double")', function() {
|
||||
// uncomment below and update the code to test the property _double
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _string (base name: "string")', function() {
|
||||
// uncomment below and update the code to test the property _string
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property patternWithoutDelimiter (base name: "pattern_without_delimiter")', function() {
|
||||
// uncomment below and update the code to test the property patternWithoutDelimiter
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _byte (base name: "byte")', function() {
|
||||
// uncomment below and update the code to test the property _byte
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property binary (base name: "binary")', function() {
|
||||
// uncomment below and update the code to test the property binary
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _date (base name: "date")', function() {
|
||||
// uncomment below and update the code to test the property _date
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property dateTime (base name: "dateTime")', function() {
|
||||
// uncomment below and update the code to test the property dateTime
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property password (base name: "password")', function() {
|
||||
// uncomment below and update the code to test the property password
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property callback (base name: "callback")', function() {
|
||||
// uncomment below and update the code to test the property callback
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesObject();
|
||||
instance = new OpenApiPetstore.InlineObject4();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -47,16 +47,22 @@
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('AdditionalPropertiesObject', function() {
|
||||
it('should create an instance of AdditionalPropertiesObject', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesObject
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesObject();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesObject);
|
||||
describe('InlineObject4', function() {
|
||||
it('should create an instance of InlineObject4', function() {
|
||||
// uncomment below and update the code to test InlineObject4
|
||||
//var instane = new OpenApiPetstore.InlineObject4();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject4);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesObject();
|
||||
it('should have the property param (base name: "param")', function() {
|
||||
// uncomment below and update the code to test the property param
|
||||
//var instane = new OpenApiPetstore.InlineObject4();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property param2 (base name: "param2")', function() {
|
||||
// uncomment below and update the code to test the property param2
|
||||
//var instane = new OpenApiPetstore.InlineObject4();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesInteger();
|
||||
instance = new OpenApiPetstore.InlineObject5();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -47,16 +47,22 @@
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('AdditionalPropertiesInteger', function() {
|
||||
it('should create an instance of AdditionalPropertiesInteger', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesInteger
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesInteger();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesInteger);
|
||||
describe('InlineObject5', function() {
|
||||
it('should create an instance of InlineObject5', function() {
|
||||
// uncomment below and update the code to test InlineObject5
|
||||
//var instane = new OpenApiPetstore.InlineObject5();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject5);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesInteger();
|
||||
it('should have the property additionalMetadata (base name: "additionalMetadata")', function() {
|
||||
// uncomment below and update the code to test the property additionalMetadata
|
||||
//var instane = new OpenApiPetstore.InlineObject5();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property requiredFile (base name: "requiredFile")', function() {
|
||||
// uncomment below and update the code to test the property requiredFile
|
||||
//var instane = new OpenApiPetstore.InlineObject5();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -28,7 +28,7 @@
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesArray();
|
||||
instance = new OpenApiPetstore.InlineResponseDefault();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -47,16 +47,16 @@
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('AdditionalPropertiesArray', function() {
|
||||
it('should create an instance of AdditionalPropertiesArray', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesArray
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesArray();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesArray);
|
||||
describe('InlineResponseDefault', function() {
|
||||
it('should create an instance of InlineResponseDefault', function() {
|
||||
// uncomment below and update the code to test InlineResponseDefault
|
||||
//var instane = new OpenApiPetstore.InlineResponseDefault();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineResponseDefault);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesArray();
|
||||
it('should have the property _string (base name: "string")', function() {
|
||||
// uncomment below and update the code to test the property _string
|
||||
//var instane = new OpenApiPetstore.InlineResponseDefault();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
@@ -66,18 +66,6 @@
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property directMap (base name: "direct_map")', function() {
|
||||
// uncomment below and update the code to test the property directMap
|
||||
//var instane = new OpenApiPetstore.MapTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property indirectMap (base name: "indirect_map")', function() {
|
||||
// uncomment below and update the code to test the property indirectMap
|
||||
//var instane = new OpenApiPetstore.MapTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -0,0 +1,131 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.NullableClass();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('NullableClass', function() {
|
||||
it('should create an instance of NullableClass', function() {
|
||||
// uncomment below and update the code to test NullableClass
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.NullableClass);
|
||||
});
|
||||
|
||||
it('should have the property integerProp (base name: "integer_prop")', function() {
|
||||
// uncomment below and update the code to test the property integerProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property numberProp (base name: "number_prop")', function() {
|
||||
// uncomment below and update the code to test the property numberProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property booleanProp (base name: "boolean_prop")', function() {
|
||||
// uncomment below and update the code to test the property booleanProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property stringProp (base name: "string_prop")', function() {
|
||||
// uncomment below and update the code to test the property stringProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property dateProp (base name: "date_prop")', function() {
|
||||
// uncomment below and update the code to test the property dateProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property datetimeProp (base name: "datetime_prop")', function() {
|
||||
// uncomment below and update the code to test the property datetimeProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayNullableProp (base name: "array_nullable_prop")', function() {
|
||||
// uncomment below and update the code to test the property arrayNullableProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayAndItemsNullableProp (base name: "array_and_items_nullable_prop")', function() {
|
||||
// uncomment below and update the code to test the property arrayAndItemsNullableProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayItemsNullable (base name: "array_items_nullable")', function() {
|
||||
// uncomment below and update the code to test the property arrayItemsNullable
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property objectNullableProp (base name: "object_nullable_prop")', function() {
|
||||
// uncomment below and update the code to test the property objectNullableProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property objectAndItemsNullableProp (base name: "object_and_items_nullable_prop")', function() {
|
||||
// uncomment below and update the code to test the property objectAndItemsNullableProp
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property objectItemsNullable (base name: "object_items_nullable")', function() {
|
||||
// uncomment below and update the code to test the property objectItemsNullable
|
||||
//var instane = new OpenApiPetstore.NullableClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
// OuterBoolean is not a member of SwaggerPetstore
|
||||
//instance = new SwaggerPetstore.OuterBoolean();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('OuterBoolean', function() {
|
||||
it('should create an instance of OuterBoolean', function() {
|
||||
// uncomment below and update the code to test OuterBoolean
|
||||
//var instane = new SwaggerPetstore.OuterBoolean();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.OuterBoolean);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('OuterEnumDefaultValue', function() {
|
||||
it('should create an instance of OuterEnumDefaultValue', function() {
|
||||
// uncomment below and update the code to test OuterEnumDefaultValue
|
||||
//var instane = new OpenApiPetstore.OuterEnumDefaultValue();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.OuterEnumDefaultValue);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('OuterEnumInteger', function() {
|
||||
it('should create an instance of OuterEnumInteger', function() {
|
||||
// uncomment below and update the code to test OuterEnumInteger
|
||||
//var instane = new OpenApiPetstore.OuterEnumInteger();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.OuterEnumInteger);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('OuterEnumIntegerDefaultValue', function() {
|
||||
it('should create an instance of OuterEnumIntegerDefaultValue', function() {
|
||||
// uncomment below and update the code to test OuterEnumIntegerDefaultValue
|
||||
//var instane = new OpenApiPetstore.OuterEnumIntegerDefaultValue();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.OuterEnumIntegerDefaultValue);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
// OuterNumber is not a member of SwaggerPetstore
|
||||
//instance = new SwaggerPetstore.OuterNumber();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('OuterNumber', function() {
|
||||
it('should create an instance of OuterNumber', function() {
|
||||
// uncomment below and update the code to test OuterNumber
|
||||
//var instane = new SwaggerPetstore.OuterNumber();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.OuterNumber);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
// OuterString is not a member of SwaggerPetstore
|
||||
//instance = new SwaggerPetstore.OuterString();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('OuterString', function() {
|
||||
it('should create an instance of OuterString', function() {
|
||||
// uncomment below and update the code to test OuterString
|
||||
//var instane = new SwaggerPetstore.OuterString();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.OuterString);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.TypeHolderDefault();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('TypeHolderDefault', function() {
|
||||
it('should create an instance of TypeHolderDefault', function() {
|
||||
// uncomment below and update the code to test TypeHolderDefault
|
||||
//var instane = new OpenApiPetstore.TypeHolderDefault();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.TypeHolderDefault);
|
||||
});
|
||||
|
||||
it('should have the property stringItem (base name: "string_item")', function() {
|
||||
// uncomment below and update the code to test the property stringItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderDefault();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property numberItem (base name: "number_item")', function() {
|
||||
// uncomment below and update the code to test the property numberItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderDefault();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property integerItem (base name: "integer_item")', function() {
|
||||
// uncomment below and update the code to test the property integerItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderDefault();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property boolItem (base name: "bool_item")', function() {
|
||||
// uncomment below and update the code to test the property boolItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderDefault();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayItem (base name: "array_item")', function() {
|
||||
// uncomment below and update the code to test the property arrayItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderDefault();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,89 +0,0 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.TypeHolderExample();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('TypeHolderExample', function() {
|
||||
it('should create an instance of TypeHolderExample', function() {
|
||||
// uncomment below and update the code to test TypeHolderExample
|
||||
//var instane = new OpenApiPetstore.TypeHolderExample();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.TypeHolderExample);
|
||||
});
|
||||
|
||||
it('should have the property stringItem (base name: "string_item")', function() {
|
||||
// uncomment below and update the code to test the property stringItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderExample();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property numberItem (base name: "number_item")', function() {
|
||||
// uncomment below and update the code to test the property numberItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderExample();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property integerItem (base name: "integer_item")', function() {
|
||||
// uncomment below and update the code to test the property integerItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderExample();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property boolItem (base name: "bool_item")', function() {
|
||||
// uncomment below and update the code to test the property boolItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderExample();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayItem (base name: "array_item")', function() {
|
||||
// uncomment below and update the code to test the property arrayItem
|
||||
//var instane = new OpenApiPetstore.TypeHolderExample();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
factory(require('expect.js'), require('../../src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -1,233 +0,0 @@
|
||||
/**
|
||||
* OpenAPI Petstore
|
||||
* 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
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.XmlItem();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
// Use getter method if present; otherwise, get the property directly.
|
||||
if (typeof object[getter] === 'function')
|
||||
return object[getter]();
|
||||
else
|
||||
return object[property];
|
||||
}
|
||||
|
||||
var setProperty = function(object, setter, property, value) {
|
||||
// Use setter method if present; otherwise, set the property directly.
|
||||
if (typeof object[setter] === 'function')
|
||||
object[setter](value);
|
||||
else
|
||||
object[property] = value;
|
||||
}
|
||||
|
||||
describe('XmlItem', function() {
|
||||
it('should create an instance of XmlItem', function() {
|
||||
// uncomment below and update the code to test XmlItem
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.XmlItem);
|
||||
});
|
||||
|
||||
it('should have the property attributeString (base name: "attribute_string")', function() {
|
||||
// uncomment below and update the code to test the property attributeString
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property attributeNumber (base name: "attribute_number")', function() {
|
||||
// uncomment below and update the code to test the property attributeNumber
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property attributeInteger (base name: "attribute_integer")', function() {
|
||||
// uncomment below and update the code to test the property attributeInteger
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property attributeBoolean (base name: "attribute_boolean")', function() {
|
||||
// uncomment below and update the code to test the property attributeBoolean
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property wrappedArray (base name: "wrapped_array")', function() {
|
||||
// uncomment below and update the code to test the property wrappedArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property nameString (base name: "name_string")', function() {
|
||||
// uncomment below and update the code to test the property nameString
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property nameNumber (base name: "name_number")', function() {
|
||||
// uncomment below and update the code to test the property nameNumber
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property nameInteger (base name: "name_integer")', function() {
|
||||
// uncomment below and update the code to test the property nameInteger
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property nameBoolean (base name: "name_boolean")', function() {
|
||||
// uncomment below and update the code to test the property nameBoolean
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property nameArray (base name: "name_array")', function() {
|
||||
// uncomment below and update the code to test the property nameArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property nameWrappedArray (base name: "name_wrapped_array")', function() {
|
||||
// uncomment below and update the code to test the property nameWrappedArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixString (base name: "prefix_string")', function() {
|
||||
// uncomment below and update the code to test the property prefixString
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixNumber (base name: "prefix_number")', function() {
|
||||
// uncomment below and update the code to test the property prefixNumber
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixInteger (base name: "prefix_integer")', function() {
|
||||
// uncomment below and update the code to test the property prefixInteger
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixBoolean (base name: "prefix_boolean")', function() {
|
||||
// uncomment below and update the code to test the property prefixBoolean
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixArray (base name: "prefix_array")', function() {
|
||||
// uncomment below and update the code to test the property prefixArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixWrappedArray (base name: "prefix_wrapped_array")', function() {
|
||||
// uncomment below and update the code to test the property prefixWrappedArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property namespaceString (base name: "namespace_string")', function() {
|
||||
// uncomment below and update the code to test the property namespaceString
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property namespaceNumber (base name: "namespace_number")', function() {
|
||||
// uncomment below and update the code to test the property namespaceNumber
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property namespaceInteger (base name: "namespace_integer")', function() {
|
||||
// uncomment below and update the code to test the property namespaceInteger
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property namespaceBoolean (base name: "namespace_boolean")', function() {
|
||||
// uncomment below and update the code to test the property namespaceBoolean
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property namespaceArray (base name: "namespace_array")', function() {
|
||||
// uncomment below and update the code to test the property namespaceArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property namespaceWrappedArray (base name: "namespace_wrapped_array")', function() {
|
||||
// uncomment below and update the code to test the property namespaceWrappedArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixNsString (base name: "prefix_ns_string")', function() {
|
||||
// uncomment below and update the code to test the property prefixNsString
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixNsNumber (base name: "prefix_ns_number")', function() {
|
||||
// uncomment below and update the code to test the property prefixNsNumber
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixNsInteger (base name: "prefix_ns_integer")', function() {
|
||||
// uncomment below and update the code to test the property prefixNsInteger
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixNsBoolean (base name: "prefix_ns_boolean")', function() {
|
||||
// uncomment below and update the code to test the property prefixNsBoolean
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixNsArray (base name: "prefix_ns_array")', function() {
|
||||
// uncomment below and update the code to test the property prefixNsArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property prefixNsWrappedArray (base name: "prefix_ns_wrapped_array")', function() {
|
||||
// uncomment below and update the code to test the property prefixNsWrappedArray
|
||||
//var instane = new OpenApiPetstore.XmlItem();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
Reference in New Issue
Block a user