diff --git a/samples/client/petstore/javascript-es6/src/test/api/AnotherFakeApi.spec.js b/samples/client/petstore/javascript-es6/src/test/api/AnotherFakeApi.spec.js deleted file mode 100644 index f55538a53e72..000000000000 --- a/samples/client/petstore/javascript-es6/src/test/api/AnotherFakeApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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() { - instance = new SwaggerPetstore.AnotherFakeApi(); - }); - - 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('AnotherFakeApi', function() { - describe('testSpecialTags', function() { - it('should call testSpecialTags successfully', function(done) { - //uncomment below and update the code to test testSpecialTags - //instance.testSpecialTags(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-es6/src/test/api/FakeApi.spec.js b/samples/client/petstore/javascript-es6/src/test/api/FakeApi.spec.js deleted file mode 100644 index f2903d6612ca..000000000000 --- a/samples/client/petstore/javascript-es6/src/test/api/FakeApi.spec.js +++ /dev/null @@ -1,123 +0,0 @@ -/** - * 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() { - instance = new SwaggerPetstore.FakeApi(); - }); - - 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('FakeApi', function() { - describe('fakeOuterBooleanSerialize', function() { - it('should call fakeOuterBooleanSerialize successfully', function(done) { - //uncomment below and update the code to test fakeOuterBooleanSerialize - //instance.fakeOuterBooleanSerialize(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('fakeOuterCompositeSerialize', function() { - it('should call fakeOuterCompositeSerialize successfully', function(done) { - //uncomment below and update the code to test fakeOuterCompositeSerialize - //instance.fakeOuterCompositeSerialize(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('fakeOuterNumberSerialize', function() { - it('should call fakeOuterNumberSerialize successfully', function(done) { - //uncomment below and update the code to test fakeOuterNumberSerialize - //instance.fakeOuterNumberSerialize(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('fakeOuterStringSerialize', function() { - it('should call fakeOuterStringSerialize successfully', function(done) { - //uncomment below and update the code to test fakeOuterStringSerialize - //instance.fakeOuterStringSerialize(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('testClientModel', function() { - it('should call testClientModel successfully', function(done) { - //uncomment below and update the code to test testClientModel - //instance.testClientModel(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('testEndpointParameters', function() { - it('should call testEndpointParameters successfully', function(done) { - //uncomment below and update the code to test testEndpointParameters - //instance.testEndpointParameters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('testEnumParameters', function() { - it('should call testEnumParameters successfully', function(done) { - //uncomment below and update the code to test testEnumParameters - //instance.testEnumParameters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-es6/src/test/api/FakeClassnameTags123Api.spec.js b/samples/client/petstore/javascript-es6/src/test/api/FakeClassnameTags123Api.spec.js deleted file mode 100644 index 10e20e7778a2..000000000000 --- a/samples/client/petstore/javascript-es6/src/test/api/FakeClassnameTags123Api.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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() { - instance = new SwaggerPetstore.FakeClassnameTags123Api(); - }); - - 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('FakeClassnameTags123Api', function() { - describe('testClassname', function() { - it('should call testClassname successfully', function(done) { - //uncomment below and update the code to test testClassname - //instance.testClassname(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-es6/src/test/api/PetApi.spec.js b/samples/client/petstore/javascript-es6/src/test/api/PetApi.spec.js deleted file mode 100644 index 5259a2c66650..000000000000 --- a/samples/client/petstore/javascript-es6/src/test/api/PetApi.spec.js +++ /dev/null @@ -1,133 +0,0 @@ -/** - * 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() { - instance = new SwaggerPetstore.PetApi(); - }); - - 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('PetApi', function() { - describe('addPet', function() { - it('should call addPet successfully', function(done) { - //uncomment below and update the code to test addPet - //instance.addPet(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('deletePet', function() { - it('should call deletePet successfully', function(done) { - //uncomment below and update the code to test deletePet - //instance.deletePet(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('findPetsByStatus', function() { - it('should call findPetsByStatus successfully', function(done) { - //uncomment below and update the code to test findPetsByStatus - //instance.findPetsByStatus(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('findPetsByTags', function() { - it('should call findPetsByTags successfully', function(done) { - //uncomment below and update the code to test findPetsByTags - //instance.findPetsByTags(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getPetById', function() { - it('should call getPetById successfully', function(done) { - //uncomment below and update the code to test getPetById - //instance.getPetById(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('updatePet', function() { - it('should call updatePet successfully', function(done) { - //uncomment below and update the code to test updatePet - //instance.updatePet(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('updatePetWithForm', function() { - it('should call updatePetWithForm successfully', function(done) { - //uncomment below and update the code to test updatePetWithForm - //instance.updatePetWithForm(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('uploadFile', function() { - it('should call uploadFile successfully', function(done) { - //uncomment below and update the code to test uploadFile - //instance.uploadFile(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-es6/src/test/api/StoreApi.spec.js b/samples/client/petstore/javascript-es6/src/test/api/StoreApi.spec.js deleted file mode 100644 index d19da2f28d82..000000000000 --- a/samples/client/petstore/javascript-es6/src/test/api/StoreApi.spec.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * 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() { - instance = new SwaggerPetstore.StoreApi(); - }); - - 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('StoreApi', function() { - describe('deleteOrder', function() { - it('should call deleteOrder successfully', function(done) { - //uncomment below and update the code to test deleteOrder - //instance.deleteOrder(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getInventory', function() { - it('should call getInventory successfully', function(done) { - //uncomment below and update the code to test getInventory - //instance.getInventory(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getOrderById', function() { - it('should call getOrderById successfully', function(done) { - //uncomment below and update the code to test getOrderById - //instance.getOrderById(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('placeOrder', function() { - it('should call placeOrder successfully', function(done) { - //uncomment below and update the code to test placeOrder - //instance.placeOrder(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-es6/src/test/api/UserApi.spec.js b/samples/client/petstore/javascript-es6/src/test/api/UserApi.spec.js deleted file mode 100644 index 55c8967f13b7..000000000000 --- a/samples/client/petstore/javascript-es6/src/test/api/UserApi.spec.js +++ /dev/null @@ -1,133 +0,0 @@ -/** - * 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() { - instance = new SwaggerPetstore.UserApi(); - }); - - 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('UserApi', function() { - describe('createUser', function() { - it('should call createUser successfully', function(done) { - //uncomment below and update the code to test createUser - //instance.createUser(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('createUsersWithArrayInput', function() { - it('should call createUsersWithArrayInput successfully', function(done) { - //uncomment below and update the code to test createUsersWithArrayInput - //instance.createUsersWithArrayInput(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('createUsersWithListInput', function() { - it('should call createUsersWithListInput successfully', function(done) { - //uncomment below and update the code to test createUsersWithListInput - //instance.createUsersWithListInput(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('deleteUser', function() { - it('should call deleteUser successfully', function(done) { - //uncomment below and update the code to test deleteUser - //instance.deleteUser(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getUserByName', function() { - it('should call getUserByName successfully', function(done) { - //uncomment below and update the code to test getUserByName - //instance.getUserByName(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('loginUser', function() { - it('should call loginUser successfully', function(done) { - //uncomment below and update the code to test loginUser - //instance.loginUser(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('logoutUser', function() { - it('should call logoutUser successfully', function(done) { - //uncomment below and update the code to test logoutUser - //instance.logoutUser(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('updateUser', function() { - it('should call updateUser successfully', function(done) { - //uncomment below and update the code to test updateUser - //instance.updateUser(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-es6/test/model/OuterBoolean.spec.js b/samples/client/petstore/javascript-es6/test/model/OuterBoolean.spec.js deleted file mode 100644 index 765f758cd095..000000000000 --- a/samples/client/petstore/javascript-es6/test/model/OuterBoolean.spec.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * 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); - }); - - }); - -})); diff --git a/samples/client/petstore/javascript-es6/test/model/OuterNumber.spec.js b/samples/client/petstore/javascript-es6/test/model/OuterNumber.spec.js deleted file mode 100644 index 2466fbe6dc9f..000000000000 --- a/samples/client/petstore/javascript-es6/test/model/OuterNumber.spec.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * 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); - }); - - }); - -})); diff --git a/samples/client/petstore/javascript-es6/test/model/OuterString.spec.js b/samples/client/petstore/javascript-es6/test/model/OuterString.spec.js deleted file mode 100644 index 46d6c579bc9f..000000000000 --- a/samples/client/petstore/javascript-es6/test/model/OuterString.spec.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * 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); - }); - - }); - -}));