mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
remove unused JS files
This commit is contained in:
parent
1f9f8c5a3e
commit
1dc3fb4f37
@ -1,66 +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
|
|
||||||
*
|
|
||||||
* Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
||||||
*
|
|
||||||
* 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.Fake_classname_tags123Api();
|
|
||||||
});
|
|
||||||
|
|
||||||
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('Fake_classname_tags123Api', 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();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
@ -1,66 +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
|
|
||||||
*
|
|
||||||
* Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
||||||
*
|
|
||||||
* 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.Fake_classname_tags123Api();
|
|
||||||
});
|
|
||||||
|
|
||||||
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('Fake_classname_tags123Api', 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();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
@ -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.Fake_classname_tags123Api();
|
|
||||||
});
|
|
||||||
|
|
||||||
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('Fake_classname_tags123Api', function() {
|
|
||||||
describe('testClassname', function() {
|
|
||||||
it('should call testClassname successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test testClassname
|
|
||||||
//instance.testClassname(pet, function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
@ -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.Fake_classname_tags123Api();
|
|
||||||
});
|
|
||||||
|
|
||||||
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('Fake_classname_tags123Api', function() {
|
|
||||||
describe('testClassname', function() {
|
|
||||||
it('should call testClassname successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test testClassname
|
|
||||||
//instance.testClassname(pet, function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
Loading…
Reference in New Issue
Block a user