This commit is contained in:
MaxToby
2021-01-08 23:35:08 +08:00
parent 9d54da3c67
commit ce24620329
101 changed files with 10965 additions and 27 deletions

View File

@ -0,0 +1,58 @@
/*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* 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.SwaggerJsClient);
}
}(this, function(expect, SwaggerJsClient) {
'use strict';
var instance;
describe('(package)', function() {
describe('LoginReq', function() {
beforeEach(function() {
instance = new SwaggerJsClient.LoginReq();
});
it('should create an instance of LoginReq', function() {
// TODO: update the code to test LoginReq
expect(instance).to.be.a(SwaggerJsClient.LoginReq);
});
it('should have the property username (base name: "username")', function() {
// TODO: update the code to test the property username
expect(instance).to.have.property('username');
// expect(instance.username).to.be(expectedValueLiteral);
});
it('should have the property password (base name: "password")', function() {
// TODO: update the code to test the property password
expect(instance).to.have.property('password');
// expect(instance.password).to.be(expectedValueLiteral);
});
});
});
}));

View File

@ -0,0 +1,64 @@
/*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* 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.SwaggerJsClient);
}
}(this, function(expect, SwaggerJsClient) {
'use strict';
var instance;
describe('(package)', function() {
describe('RegisterReq', function() {
beforeEach(function() {
instance = new SwaggerJsClient.RegisterReq();
});
it('should create an instance of RegisterReq', function() {
// TODO: update the code to test RegisterReq
expect(instance).to.be.a(SwaggerJsClient.RegisterReq);
});
it('should have the property username (base name: "username")', function() {
// TODO: update the code to test the property username
expect(instance).to.have.property('username');
// expect(instance.username).to.be(expectedValueLiteral);
});
it('should have the property password (base name: "password")', function() {
// TODO: update the code to test the property password
expect(instance).to.have.property('password');
// expect(instance.password).to.be(expectedValueLiteral);
});
it('should have the property mobile (base name: "mobile")', function() {
// TODO: update the code to test the property mobile
expect(instance).to.have.property('mobile');
// expect(instance.mobile).to.be(expectedValueLiteral);
});
});
});
}));

View File

@ -0,0 +1,76 @@
/*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* 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.SwaggerJsClient);
}
}(this, function(expect, SwaggerJsClient) {
'use strict';
var instance;
describe('(package)', function() {
describe('UserInfoReply', function() {
beforeEach(function() {
instance = new SwaggerJsClient.UserInfoReply();
});
it('should create an instance of UserInfoReply', function() {
// TODO: update the code to test UserInfoReply
expect(instance).to.be.a(SwaggerJsClient.UserInfoReply);
});
it('should have the property name (base name: "name")', function() {
// TODO: update the code to test the property name
expect(instance).to.have.property('name');
// expect(instance.name).to.be(expectedValueLiteral);
});
it('should have the property age (base name: "age")', function() {
// TODO: update the code to test the property age
expect(instance).to.have.property('age');
// expect(instance.age).to.be(expectedValueLiteral);
});
it('should have the property birthday (base name: "birthday")', function() {
// TODO: update the code to test the property birthday
expect(instance).to.have.property('birthday');
// expect(instance.birthday).to.be(expectedValueLiteral);
});
it('should have the property description (base name: "description")', function() {
// TODO: update the code to test the property description
expect(instance).to.have.property('description');
// expect(instance.description).to.be(expectedValueLiteral);
});
it('should have the property tag (base name: "tag")', function() {
// TODO: update the code to test the property tag
expect(instance).to.have.property('tag');
// expect(instance.tag).to.be(expectedValueLiteral);
});
});
});
}));

View File

@ -0,0 +1,52 @@
/*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* 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.SwaggerJsClient);
}
}(this, function(expect, SwaggerJsClient) {
'use strict';
var instance;
describe('(package)', function() {
describe('UserInfoReq', function() {
beforeEach(function() {
instance = new SwaggerJsClient.UserInfoReq();
});
it('should create an instance of UserInfoReq', function() {
// TODO: update the code to test UserInfoReq
expect(instance).to.be.a(SwaggerJsClient.UserInfoReq);
});
it('should have the property id (base name: "id")', function() {
// TODO: update the code to test the property id
expect(instance).to.have.property('id');
// expect(instance.id).to.be(expectedValueLiteral);
});
});
});
}));

View File

@ -0,0 +1,52 @@
/*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* 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.SwaggerJsClient);
}
}(this, function(expect, SwaggerJsClient) {
'use strict';
var instance;
describe('(package)', function() {
describe('UserSearchReply', function() {
beforeEach(function() {
instance = new SwaggerJsClient.UserSearchReply();
});
it('should create an instance of UserSearchReply', function() {
// TODO: update the code to test UserSearchReply
expect(instance).to.be.a(SwaggerJsClient.UserSearchReply);
});
it('should have the property keyWord (base name: "KeyWord")', function() {
// TODO: update the code to test the property keyWord
expect(instance).to.have.property('keyWord');
// expect(instance.keyWord).to.be(expectedValueLiteral);
});
});
});
}));

View File

@ -0,0 +1,52 @@
/*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* 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.SwaggerJsClient);
}
}(this, function(expect, SwaggerJsClient) {
'use strict';
var instance;
describe('(package)', function() {
describe('UserSearchReq', function() {
beforeEach(function() {
instance = new SwaggerJsClient.UserSearchReq();
});
it('should create an instance of UserSearchReq', function() {
// TODO: update the code to test UserSearchReq
expect(instance).to.be.a(SwaggerJsClient.UserSearchReq);
});
it('should have the property keyWord (base name: "keyWord")', function() {
// TODO: update the code to test the property keyWord
expect(instance).to.have.property('keyWord');
// expect(instance.keyWord).to.be(expectedValueLiteral);
});
});
});
}));