forked from loafle/openapi-generator-original
[JavaScript] fix index.js, ApiClient.js and test files generated to incorrect location (#2511)
remove outdated samples files update test dependencies
This commit is contained in:
committed by
William Cheng
parent
c4d982f775
commit
8977d7b366
@@ -1,7 +0,0 @@
|
||||
# OpenApiPetstore.AnimalFarm
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# SwaggerPetstore.Fake_classname_tags123Api
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**testClassname**](Fake_classname_tags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
|
||||
|
||||
|
||||
<a name="testClassname"></a>
|
||||
# **testClassname**
|
||||
> Client testClassname(body)
|
||||
|
||||
To test class name in snake case
|
||||
|
||||
### Example
|
||||
```javascript
|
||||
import SwaggerPetstore from 'swagger_petstore';
|
||||
let defaultClient = SwaggerPetstore.ApiClient.instance;
|
||||
|
||||
// Configure API key authorization: api_key_query
|
||||
let api_key_query = defaultClient.authentications['api_key_query'];
|
||||
api_key_query.apiKey = 'YOUR API KEY';
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//api_key_query.apiKeyPrefix = 'Token';
|
||||
|
||||
let apiInstance = new SwaggerPetstore.Fake_classname_tags123Api();
|
||||
|
||||
let body = new SwaggerPetstore.Client(); // Client | client model
|
||||
|
||||
apiInstance.testClassname(body).then((data) => {
|
||||
console.log('API called successfully. Returned data: ' + data);
|
||||
}, (error) => {
|
||||
console.error(error);
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**Client**](Client.md)| client model |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Client**](Client.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[api_key_query](../README.md#api_key_query)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# SwaggerPetstore.OuterBoolean
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# SwaggerPetstore.OuterNumber
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# SwaggerPetstore.OuterString
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# OpenApiPetstore.StringBooleanMap
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
"babel-core": "6.26.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"expect.js": "~0.3.1",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^5.2.0",
|
||||
"sinon": "1.17.3"
|
||||
"sinon": "^7.2.0"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
||||
@@ -1,70 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
import ApiClient from '../ApiClient';
|
||||
import Animal from './Animal';
|
||||
|
||||
/**
|
||||
* The AnimalFarm model module.
|
||||
* @module model/AnimalFarm
|
||||
* @version 1.0.0
|
||||
*/
|
||||
class AnimalFarm extends Array {
|
||||
/**
|
||||
* Constructs a new <code>AnimalFarm</code>.
|
||||
* @alias module:model/AnimalFarm
|
||||
* @extends Array
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
|
||||
AnimalFarm.initialize(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the fields of this object.
|
||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
||||
* Only for internal use.
|
||||
*/
|
||||
static initialize(obj) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a <code>AnimalFarm</code> from a plain JavaScript object, optionally creating a new instance.
|
||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
||||
* @param {module:model/AnimalFarm} obj Optional instance to populate.
|
||||
* @return {module:model/AnimalFarm} The populated <code>AnimalFarm</code> instance.
|
||||
*/
|
||||
static constructFromObject(data, obj) {
|
||||
if (data) {
|
||||
obj = obj || new AnimalFarm();
|
||||
|
||||
ApiClient.constructFromObject(data, obj, 'Animal');
|
||||
|
||||
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
export default AnimalFarm;
|
||||
|
||||
@@ -1,67 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
import ApiClient from '../ApiClient';
|
||||
|
||||
/**
|
||||
* The StringBooleanMap model module.
|
||||
* @module model/StringBooleanMap
|
||||
* @version 1.0.0
|
||||
*/
|
||||
class StringBooleanMap {
|
||||
/**
|
||||
* Constructs a new <code>StringBooleanMap</code>.
|
||||
* @alias module:model/StringBooleanMap
|
||||
* @extends Object
|
||||
*/
|
||||
constructor() {
|
||||
|
||||
StringBooleanMap.initialize(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the fields of this object.
|
||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
||||
* Only for internal use.
|
||||
*/
|
||||
static initialize(obj) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a <code>StringBooleanMap</code> from a plain JavaScript object, optionally creating a new instance.
|
||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
||||
* @param {module:model/StringBooleanMap} obj Optional instance to populate.
|
||||
* @return {module:model/StringBooleanMap} The populated <code>StringBooleanMap</code> instance.
|
||||
*/
|
||||
static constructFromObject(data, obj) {
|
||||
if (data) {
|
||||
obj = obj || new StringBooleanMap();
|
||||
|
||||
ApiClient.constructFromObject(data, obj, 'Boolean');
|
||||
|
||||
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
export default StringBooleanMap;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.AnotherFakeApi();
|
||||
instance = new OpenApiPetstore.AnotherFakeApi();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -48,10 +48,10 @@
|
||||
}
|
||||
|
||||
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) {
|
||||
describe('call123testSpecialTags', function() {
|
||||
it('should call call123testSpecialTags successfully', function(done) {
|
||||
//uncomment below and update the code to test call123testSpecialTags
|
||||
//instance.call123testSpecialTags(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.FakeApi();
|
||||
instance = new OpenApiPetstore.FakeApi();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -48,6 +48,76 @@
|
||||
}
|
||||
|
||||
describe('FakeApi', function() {
|
||||
describe('createXmlItem', function() {
|
||||
it('should call createXmlItem successfully', function(done) {
|
||||
//uncomment below and update the code to test createXmlItem
|
||||
//instance.createXmlItem(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
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('testBodyWithFileSchema', function() {
|
||||
it('should call testBodyWithFileSchema successfully', function(done) {
|
||||
//uncomment below and update the code to test testBodyWithFileSchema
|
||||
//instance.testBodyWithFileSchema(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testBodyWithQueryParams', function() {
|
||||
it('should call testBodyWithQueryParams successfully', function(done) {
|
||||
//uncomment below and update the code to test testBodyWithQueryParams
|
||||
//instance.testBodyWithQueryParams(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
|
||||
@@ -78,6 +148,36 @@
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testGroupParameters', function() {
|
||||
it('should call testGroupParameters successfully', function(done) {
|
||||
//uncomment below and update the code to test testGroupParameters
|
||||
//instance.testGroupParameters(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testInlineAdditionalProperties', function() {
|
||||
it('should call testInlineAdditionalProperties successfully', function(done) {
|
||||
//uncomment below and update the code to test testInlineAdditionalProperties
|
||||
//instance.testInlineAdditionalProperties(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('testJsonFormData', function() {
|
||||
it('should call testJsonFormData successfully', function(done) {
|
||||
//uncomment below and update the code to test testJsonFormData
|
||||
//instance.testJsonFormData(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
}));
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.FakeClassnameTags123Api();
|
||||
instance = new OpenApiPetstore.FakeClassnameTags123Api();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.PetApi();
|
||||
instance = new OpenApiPetstore.PetApi();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -128,6 +128,16 @@
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('uploadFileWithRequiredFile', function() {
|
||||
it('should call uploadFileWithRequiredFile successfully', function(done) {
|
||||
//uncomment below and update the code to test uploadFileWithRequiredFile
|
||||
//instance.uploadFileWithRequiredFile(function(error) {
|
||||
// if (error) throw error;
|
||||
//expect().to.be();
|
||||
//});
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
}));
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.StoreApi();
|
||||
instance = new OpenApiPetstore.StoreApi();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.UserApi();
|
||||
instance = new OpenApiPetstore.UserApi();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.AdditionalPropertiesClass();
|
||||
instance = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,73 @@
|
||||
describe('AdditionalPropertiesClass', function() {
|
||||
it('should create an instance of AdditionalPropertiesClass', function() {
|
||||
// uncomment below and update the code to test AdditionalPropertiesClass
|
||||
//var instane = new SwaggerPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.AdditionalPropertiesClass);
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.AdditionalPropertiesClass);
|
||||
});
|
||||
|
||||
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 SwaggerPetstore.AdditionalPropertiesClass();
|
||||
it('should have the property mapString (base name: "map_string")', function() {
|
||||
// uncomment below and update the code to test the property mapString
|
||||
//var instane = new OpenApiPetstore.AdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
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 SwaggerPetstore.AdditionalPropertiesClass();
|
||||
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
|
||||
//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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Animal();
|
||||
instance = new OpenApiPetstore.Animal();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,19 @@
|
||||
describe('Animal', function() {
|
||||
it('should create an instance of Animal', function() {
|
||||
// uncomment below and update the code to test Animal
|
||||
//var instane = new SwaggerPetstore.Animal();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Animal);
|
||||
//var instane = new OpenApiPetstore.Animal();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Animal);
|
||||
});
|
||||
|
||||
it('should have the property className (base name: "className")', function() {
|
||||
// uncomment below and update the code to test the property className
|
||||
//var instane = new SwaggerPetstore.Animal();
|
||||
//var instane = new OpenApiPetstore.Animal();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property color (base name: "color")', function() {
|
||||
// uncomment below and update the code to test the property color
|
||||
//var instane = new SwaggerPetstore.Animal();
|
||||
//var instane = new OpenApiPetstore.Animal();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.ApiResponse();
|
||||
instance = new OpenApiPetstore.ApiResponse();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,25 +50,25 @@
|
||||
describe('ApiResponse', function() {
|
||||
it('should create an instance of ApiResponse', function() {
|
||||
// uncomment below and update the code to test ApiResponse
|
||||
//var instane = new SwaggerPetstore.ApiResponse();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.ApiResponse);
|
||||
//var instane = new OpenApiPetstore.ApiResponse();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.ApiResponse);
|
||||
});
|
||||
|
||||
it('should have the property code (base name: "code")', function() {
|
||||
// uncomment below and update the code to test the property code
|
||||
//var instane = new SwaggerPetstore.ApiResponse();
|
||||
//var instane = new OpenApiPetstore.ApiResponse();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property type (base name: "type")', function() {
|
||||
// uncomment below and update the code to test the property type
|
||||
//var instane = new SwaggerPetstore.ApiResponse();
|
||||
//var instane = new OpenApiPetstore.ApiResponse();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property message (base name: "message")', function() {
|
||||
// uncomment below and update the code to test the property message
|
||||
//var instane = new SwaggerPetstore.ApiResponse();
|
||||
//var instane = new OpenApiPetstore.ApiResponse();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.ArrayOfArrayOfNumberOnly();
|
||||
instance = new OpenApiPetstore.ArrayOfArrayOfNumberOnly();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('ArrayOfArrayOfNumberOnly', function() {
|
||||
it('should create an instance of ArrayOfArrayOfNumberOnly', function() {
|
||||
// uncomment below and update the code to test ArrayOfArrayOfNumberOnly
|
||||
//var instane = new SwaggerPetstore.ArrayOfArrayOfNumberOnly();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.ArrayOfArrayOfNumberOnly);
|
||||
//var instane = new OpenApiPetstore.ArrayOfArrayOfNumberOnly();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.ArrayOfArrayOfNumberOnly);
|
||||
});
|
||||
|
||||
it('should have the property arrayArrayNumber (base name: "ArrayArrayNumber")', function() {
|
||||
// uncomment below and update the code to test the property arrayArrayNumber
|
||||
//var instane = new SwaggerPetstore.ArrayOfArrayOfNumberOnly();
|
||||
//var instane = new OpenApiPetstore.ArrayOfArrayOfNumberOnly();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.ArrayOfNumberOnly();
|
||||
instance = new OpenApiPetstore.ArrayOfNumberOnly();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('ArrayOfNumberOnly', function() {
|
||||
it('should create an instance of ArrayOfNumberOnly', function() {
|
||||
// uncomment below and update the code to test ArrayOfNumberOnly
|
||||
//var instane = new SwaggerPetstore.ArrayOfNumberOnly();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.ArrayOfNumberOnly);
|
||||
//var instane = new OpenApiPetstore.ArrayOfNumberOnly();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.ArrayOfNumberOnly);
|
||||
});
|
||||
|
||||
it('should have the property arrayNumber (base name: "ArrayNumber")', function() {
|
||||
// uncomment below and update the code to test the property arrayNumber
|
||||
//var instane = new SwaggerPetstore.ArrayOfNumberOnly();
|
||||
//var instane = new OpenApiPetstore.ArrayOfNumberOnly();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.ArrayTest();
|
||||
instance = new OpenApiPetstore.ArrayTest();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,25 +50,25 @@
|
||||
describe('ArrayTest', function() {
|
||||
it('should create an instance of ArrayTest', function() {
|
||||
// uncomment below and update the code to test ArrayTest
|
||||
//var instane = new SwaggerPetstore.ArrayTest();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.ArrayTest);
|
||||
//var instane = new OpenApiPetstore.ArrayTest();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.ArrayTest);
|
||||
});
|
||||
|
||||
it('should have the property arrayOfString (base name: "array_of_string")', function() {
|
||||
// uncomment below and update the code to test the property arrayOfString
|
||||
//var instane = new SwaggerPetstore.ArrayTest();
|
||||
//var instane = new OpenApiPetstore.ArrayTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayArrayOfInteger (base name: "array_array_of_integer")', function() {
|
||||
// uncomment below and update the code to test the property arrayArrayOfInteger
|
||||
//var instane = new SwaggerPetstore.ArrayTest();
|
||||
//var instane = new OpenApiPetstore.ArrayTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayArrayOfModel (base name: "array_array_of_model")', function() {
|
||||
// uncomment below and update the code to test the property arrayArrayOfModel
|
||||
//var instane = new SwaggerPetstore.ArrayTest();
|
||||
//var instane = new OpenApiPetstore.ArrayTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Capitalization();
|
||||
instance = new OpenApiPetstore.Capitalization();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,43 +50,43 @@
|
||||
describe('Capitalization', function() {
|
||||
it('should create an instance of Capitalization', function() {
|
||||
// uncomment below and update the code to test Capitalization
|
||||
//var instane = new SwaggerPetstore.Capitalization();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Capitalization);
|
||||
//var instane = new OpenApiPetstore.Capitalization();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Capitalization);
|
||||
});
|
||||
|
||||
it('should have the property smallCamel (base name: "smallCamel")', function() {
|
||||
// uncomment below and update the code to test the property smallCamel
|
||||
//var instane = new SwaggerPetstore.Capitalization();
|
||||
//var instane = new OpenApiPetstore.Capitalization();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property capitalCamel (base name: "CapitalCamel")', function() {
|
||||
// uncomment below and update the code to test the property capitalCamel
|
||||
//var instane = new SwaggerPetstore.Capitalization();
|
||||
//var instane = new OpenApiPetstore.Capitalization();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property smallSnake (base name: "small_Snake")', function() {
|
||||
// uncomment below and update the code to test the property smallSnake
|
||||
//var instane = new SwaggerPetstore.Capitalization();
|
||||
//var instane = new OpenApiPetstore.Capitalization();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property capitalSnake (base name: "Capital_Snake")', function() {
|
||||
// uncomment below and update the code to test the property capitalSnake
|
||||
//var instane = new SwaggerPetstore.Capitalization();
|
||||
//var instane = new OpenApiPetstore.Capitalization();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property sCAETHFlowPoints (base name: "SCA_ETH_Flow_Points")', function() {
|
||||
// uncomment below and update the code to test the property sCAETHFlowPoints
|
||||
//var instane = new SwaggerPetstore.Capitalization();
|
||||
//var instane = new OpenApiPetstore.Capitalization();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property ATT_NAME (base name: "ATT_NAME")', function() {
|
||||
// uncomment below and update the code to test the property ATT_NAME
|
||||
//var instane = new SwaggerPetstore.Capitalization();
|
||||
//var instane = new OpenApiPetstore.Capitalization();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Cat();
|
||||
instance = new OpenApiPetstore.Cat();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('Cat', function() {
|
||||
it('should create an instance of Cat', function() {
|
||||
// uncomment below and update the code to test Cat
|
||||
//var instane = new SwaggerPetstore.Cat();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Cat);
|
||||
//var instane = new OpenApiPetstore.Cat();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Cat);
|
||||
});
|
||||
|
||||
it('should have the property declawed (base name: "declawed")', function() {
|
||||
// uncomment below and update the code to test the property declawed
|
||||
//var instane = new SwaggerPetstore.Cat();
|
||||
//var instane = new OpenApiPetstore.Cat();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Category();
|
||||
instance = new OpenApiPetstore.Category();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,19 @@
|
||||
describe('Category', function() {
|
||||
it('should create an instance of Category', function() {
|
||||
// uncomment below and update the code to test Category
|
||||
//var instane = new SwaggerPetstore.Category();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Category);
|
||||
//var instane = new OpenApiPetstore.Category();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Category);
|
||||
});
|
||||
|
||||
it('should have the property id (base name: "id")', function() {
|
||||
// uncomment below and update the code to test the property id
|
||||
//var instane = new SwaggerPetstore.Category();
|
||||
//var instane = new OpenApiPetstore.Category();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new SwaggerPetstore.Category();
|
||||
//var instane = new OpenApiPetstore.Category();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.ClassModel();
|
||||
instance = new OpenApiPetstore.ClassModel();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('ClassModel', function() {
|
||||
it('should create an instance of ClassModel', function() {
|
||||
// uncomment below and update the code to test ClassModel
|
||||
//var instane = new SwaggerPetstore.ClassModel();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.ClassModel);
|
||||
//var instane = new OpenApiPetstore.ClassModel();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.ClassModel);
|
||||
});
|
||||
|
||||
it('should have the property _class (base name: "_class")', function() {
|
||||
// uncomment below and update the code to test the property _class
|
||||
//var instane = new SwaggerPetstore.ClassModel();
|
||||
//var instane = new OpenApiPetstore.ClassModel();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Client();
|
||||
instance = new OpenApiPetstore.Client();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('Client', function() {
|
||||
it('should create an instance of Client', function() {
|
||||
// uncomment below and update the code to test Client
|
||||
//var instane = new SwaggerPetstore.Client();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Client);
|
||||
//var instane = new OpenApiPetstore.Client();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Client);
|
||||
});
|
||||
|
||||
it('should have the property client (base name: "client")', function() {
|
||||
// uncomment below and update the code to test the property client
|
||||
//var instane = new SwaggerPetstore.Client();
|
||||
//var instane = new OpenApiPetstore.Client();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Dog();
|
||||
instance = new OpenApiPetstore.Dog();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('Dog', function() {
|
||||
it('should create an instance of Dog', function() {
|
||||
// uncomment below and update the code to test Dog
|
||||
//var instane = new SwaggerPetstore.Dog();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Dog);
|
||||
//var instane = new OpenApiPetstore.Dog();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Dog);
|
||||
});
|
||||
|
||||
it('should have the property breed (base name: "breed")', function() {
|
||||
// uncomment below and update the code to test the property breed
|
||||
//var instane = new SwaggerPetstore.Dog();
|
||||
//var instane = new OpenApiPetstore.Dog();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.EnumArrays();
|
||||
instance = new OpenApiPetstore.EnumArrays();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,19 @@
|
||||
describe('EnumArrays', function() {
|
||||
it('should create an instance of EnumArrays', function() {
|
||||
// uncomment below and update the code to test EnumArrays
|
||||
//var instane = new SwaggerPetstore.EnumArrays();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.EnumArrays);
|
||||
//var instane = new OpenApiPetstore.EnumArrays();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.EnumArrays);
|
||||
});
|
||||
|
||||
it('should have the property justSymbol (base name: "just_symbol")', function() {
|
||||
// uncomment below and update the code to test the property justSymbol
|
||||
//var instane = new SwaggerPetstore.EnumArrays();
|
||||
//var instane = new OpenApiPetstore.EnumArrays();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property arrayEnum (base name: "array_enum")', function() {
|
||||
// uncomment below and update the code to test the property arrayEnum
|
||||
//var instane = new SwaggerPetstore.EnumArrays();
|
||||
//var instane = new OpenApiPetstore.EnumArrays();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,15 +14,15 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
@@ -49,8 +49,8 @@
|
||||
describe('EnumClass', function() {
|
||||
it('should create an instance of EnumClass', function() {
|
||||
// uncomment below and update the code to test EnumClass
|
||||
//var instane = new SwaggerPetstore.EnumClass();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.EnumClass);
|
||||
//var instane = new OpenApiPetstore.EnumClass();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.EnumClass);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.EnumTest();
|
||||
instance = new OpenApiPetstore.EnumTest();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,31 +50,37 @@
|
||||
describe('EnumTest', function() {
|
||||
it('should create an instance of EnumTest', function() {
|
||||
// uncomment below and update the code to test EnumTest
|
||||
//var instane = new SwaggerPetstore.EnumTest();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.EnumTest);
|
||||
//var instane = new OpenApiPetstore.EnumTest();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.EnumTest);
|
||||
});
|
||||
|
||||
it('should have the property enumString (base name: "enum_string")', function() {
|
||||
// uncomment below and update the code to test the property enumString
|
||||
//var instane = new SwaggerPetstore.EnumTest();
|
||||
//var instane = new OpenApiPetstore.EnumTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property enumStringRequired (base name: "enum_string_required")', function() {
|
||||
// uncomment below and update the code to test the property enumStringRequired
|
||||
//var instane = new OpenApiPetstore.EnumTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property enumInteger (base name: "enum_integer")', function() {
|
||||
// uncomment below and update the code to test the property enumInteger
|
||||
//var instane = new SwaggerPetstore.EnumTest();
|
||||
//var instane = new OpenApiPetstore.EnumTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property enumNumber (base name: "enum_number")', function() {
|
||||
// uncomment below and update the code to test the property enumNumber
|
||||
//var instane = new SwaggerPetstore.EnumTest();
|
||||
//var instane = new OpenApiPetstore.EnumTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property outerEnum (base name: "outerEnum")', function() {
|
||||
// uncomment below and update the code to test the property outerEnum
|
||||
//var instane = new SwaggerPetstore.EnumTest();
|
||||
//var instane = new OpenApiPetstore.EnumTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.FormatTest();
|
||||
instance = new OpenApiPetstore.FormatTest();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,85 +50,85 @@
|
||||
describe('FormatTest', function() {
|
||||
it('should create an instance of FormatTest', function() {
|
||||
// uncomment below and update the code to test FormatTest
|
||||
//var instane = new SwaggerPetstore.FormatTest();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.FormatTest);
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.FormatTest);
|
||||
});
|
||||
|
||||
it('should have the property integer (base name: "integer")', function() {
|
||||
// uncomment below and update the code to test the property integer
|
||||
//var instane = new SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property uuid (base name: "uuid")', function() {
|
||||
// uncomment below and update the code to test the property uuid
|
||||
//var instane = new SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//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 SwaggerPetstore.FormatTest();
|
||||
//var instane = new OpenApiPetstore.FormatTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.HasOnlyReadOnly();
|
||||
instance = new OpenApiPetstore.HasOnlyReadOnly();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,19 @@
|
||||
describe('HasOnlyReadOnly', function() {
|
||||
it('should create an instance of HasOnlyReadOnly', function() {
|
||||
// uncomment below and update the code to test HasOnlyReadOnly
|
||||
//var instane = new SwaggerPetstore.HasOnlyReadOnly();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.HasOnlyReadOnly);
|
||||
//var instane = new OpenApiPetstore.HasOnlyReadOnly();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.HasOnlyReadOnly);
|
||||
});
|
||||
|
||||
it('should have the property bar (base name: "bar")', function() {
|
||||
// uncomment below and update the code to test the property bar
|
||||
//var instane = new SwaggerPetstore.HasOnlyReadOnly();
|
||||
//var instane = new OpenApiPetstore.HasOnlyReadOnly();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property foo (base name: "foo")', function() {
|
||||
// uncomment below and update the code to test the property foo
|
||||
//var instane = new SwaggerPetstore.HasOnlyReadOnly();
|
||||
//var instane = new OpenApiPetstore.HasOnlyReadOnly();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.List();
|
||||
instance = new OpenApiPetstore.List();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('List', function() {
|
||||
it('should create an instance of List', function() {
|
||||
// uncomment below and update the code to test List
|
||||
//var instane = new SwaggerPetstore.List();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.List);
|
||||
//var instane = new OpenApiPetstore.List();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.List);
|
||||
});
|
||||
|
||||
it('should have the property _123List (base name: "123-list")', function() {
|
||||
// uncomment below and update the code to test the property _123List
|
||||
//var instane = new SwaggerPetstore.List();
|
||||
it('should have the property _123list (base name: "123-list")', function() {
|
||||
// uncomment below and update the code to test the property _123list
|
||||
//var instane = new OpenApiPetstore.List();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.MapTest();
|
||||
instance = new OpenApiPetstore.MapTest();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,31 @@
|
||||
describe('MapTest', function() {
|
||||
it('should create an instance of MapTest', function() {
|
||||
// uncomment below and update the code to test MapTest
|
||||
//var instane = new SwaggerPetstore.MapTest();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.MapTest);
|
||||
//var instane = new OpenApiPetstore.MapTest();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.MapTest);
|
||||
});
|
||||
|
||||
it('should have the property mapMapOfString (base name: "map_map_of_string")', function() {
|
||||
// uncomment below and update the code to test the property mapMapOfString
|
||||
//var instane = new SwaggerPetstore.MapTest();
|
||||
//var instane = new OpenApiPetstore.MapTest();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property mapOfEnumString (base name: "map_of_enum_string")', function() {
|
||||
// uncomment below and update the code to test the property mapOfEnumString
|
||||
//var instane = new SwaggerPetstore.MapTest();
|
||||
//var instane = new OpenApiPetstore.MapTest();
|
||||
//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();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
instance = new OpenApiPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,25 +50,25 @@
|
||||
describe('MixedPropertiesAndAdditionalPropertiesClass', function() {
|
||||
it('should create an instance of MixedPropertiesAndAdditionalPropertiesClass', function() {
|
||||
// uncomment below and update the code to test MixedPropertiesAndAdditionalPropertiesClass
|
||||
//var instane = new SwaggerPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.MixedPropertiesAndAdditionalPropertiesClass);
|
||||
//var instane = new OpenApiPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.MixedPropertiesAndAdditionalPropertiesClass);
|
||||
});
|
||||
|
||||
it('should have the property uuid (base name: "uuid")', function() {
|
||||
// uncomment below and update the code to test the property uuid
|
||||
//var instane = new SwaggerPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//var instane = new OpenApiPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//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 SwaggerPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//var instane = new OpenApiPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property map (base name: "map")', function() {
|
||||
// uncomment below and update the code to test the property map
|
||||
//var instane = new SwaggerPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//var instane = new OpenApiPetstore.MixedPropertiesAndAdditionalPropertiesClass();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Model200Response();
|
||||
instance = new OpenApiPetstore.Model200Response();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,19 @@
|
||||
describe('Model200Response', function() {
|
||||
it('should create an instance of Model200Response', function() {
|
||||
// uncomment below and update the code to test Model200Response
|
||||
//var instane = new SwaggerPetstore.Model200Response();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Model200Response);
|
||||
//var instane = new OpenApiPetstore.Model200Response();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Model200Response);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new SwaggerPetstore.Model200Response();
|
||||
//var instane = new OpenApiPetstore.Model200Response();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _class (base name: "class")', function() {
|
||||
// uncomment below and update the code to test the property _class
|
||||
//var instane = new SwaggerPetstore.Model200Response();
|
||||
//var instane = new OpenApiPetstore.Model200Response();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.ModelReturn();
|
||||
instance = new OpenApiPetstore.ModelReturn();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('ModelReturn', function() {
|
||||
it('should create an instance of ModelReturn', function() {
|
||||
// uncomment below and update the code to test ModelReturn
|
||||
//var instane = new SwaggerPetstore.ModelReturn();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.ModelReturn);
|
||||
//var instane = new OpenApiPetstore.ModelReturn();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.ModelReturn);
|
||||
});
|
||||
|
||||
it('should have the property _return (base name: "return")', function() {
|
||||
// uncomment below and update the code to test the property _return
|
||||
//var instane = new SwaggerPetstore.ModelReturn();
|
||||
//var instane = new OpenApiPetstore.ModelReturn();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Name();
|
||||
instance = new OpenApiPetstore.Name();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,31 +50,31 @@
|
||||
describe('Name', function() {
|
||||
it('should create an instance of Name', function() {
|
||||
// uncomment below and update the code to test Name
|
||||
//var instane = new SwaggerPetstore.Name();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Name);
|
||||
//var instane = new OpenApiPetstore.Name();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Name);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new SwaggerPetstore.Name();
|
||||
//var instane = new OpenApiPetstore.Name();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property snakeCase (base name: "snake_case")', function() {
|
||||
// uncomment below and update the code to test the property snakeCase
|
||||
//var instane = new SwaggerPetstore.Name();
|
||||
//var instane = new OpenApiPetstore.Name();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property property (base name: "property")', function() {
|
||||
// uncomment below and update the code to test the property property
|
||||
//var instane = new SwaggerPetstore.Name();
|
||||
//var instane = new OpenApiPetstore.Name();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property _123Number (base name: "123Number")', function() {
|
||||
// uncomment below and update the code to test the property _123Number
|
||||
//var instane = new SwaggerPetstore.Name();
|
||||
it('should have the property _123number (base name: "123Number")', function() {
|
||||
// uncomment below and update the code to test the property _123number
|
||||
//var instane = new OpenApiPetstore.Name();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.NumberOnly();
|
||||
instance = new OpenApiPetstore.NumberOnly();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('NumberOnly', function() {
|
||||
it('should create an instance of NumberOnly', function() {
|
||||
// uncomment below and update the code to test NumberOnly
|
||||
//var instane = new SwaggerPetstore.NumberOnly();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.NumberOnly);
|
||||
//var instane = new OpenApiPetstore.NumberOnly();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.NumberOnly);
|
||||
});
|
||||
|
||||
it('should have the property justNumber (base name: "JustNumber")', function() {
|
||||
// uncomment below and update the code to test the property justNumber
|
||||
//var instane = new SwaggerPetstore.NumberOnly();
|
||||
//var instane = new OpenApiPetstore.NumberOnly();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Order();
|
||||
instance = new OpenApiPetstore.Order();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,43 +50,43 @@
|
||||
describe('Order', function() {
|
||||
it('should create an instance of Order', function() {
|
||||
// uncomment below and update the code to test Order
|
||||
//var instane = new SwaggerPetstore.Order();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Order);
|
||||
//var instane = new OpenApiPetstore.Order();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Order);
|
||||
});
|
||||
|
||||
it('should have the property id (base name: "id")', function() {
|
||||
// uncomment below and update the code to test the property id
|
||||
//var instane = new SwaggerPetstore.Order();
|
||||
//var instane = new OpenApiPetstore.Order();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property petId (base name: "petId")', function() {
|
||||
// uncomment below and update the code to test the property petId
|
||||
//var instane = new SwaggerPetstore.Order();
|
||||
//var instane = new OpenApiPetstore.Order();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property quantity (base name: "quantity")', function() {
|
||||
// uncomment below and update the code to test the property quantity
|
||||
//var instane = new SwaggerPetstore.Order();
|
||||
//var instane = new OpenApiPetstore.Order();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property shipDate (base name: "shipDate")', function() {
|
||||
// uncomment below and update the code to test the property shipDate
|
||||
//var instane = new SwaggerPetstore.Order();
|
||||
//var instane = new OpenApiPetstore.Order();
|
||||
//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 SwaggerPetstore.Order();
|
||||
//var instane = new OpenApiPetstore.Order();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property complete (base name: "complete")', function() {
|
||||
// uncomment below and update the code to test the property complete
|
||||
//var instane = new SwaggerPetstore.Order();
|
||||
//var instane = new OpenApiPetstore.Order();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* Swagger Codegen version: 2.2.3-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() {
|
||||
// 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);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,15 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* 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.2.3-SNAPSHOT
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -17,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.OuterComposite();
|
||||
instance = new OpenApiPetstore.OuterComposite();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -53,25 +50,25 @@
|
||||
describe('OuterComposite', function() {
|
||||
it('should create an instance of OuterComposite', function() {
|
||||
// uncomment below and update the code to test OuterComposite
|
||||
//var instane = new SwaggerPetstore.OuterComposite();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.OuterComposite);
|
||||
//var instane = new OpenApiPetstore.OuterComposite();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.OuterComposite);
|
||||
});
|
||||
|
||||
it('should have the property myNumber (base name: "my_number")', function() {
|
||||
// uncomment below and update the code to test the property myNumber
|
||||
//var instane = new SwaggerPetstore.OuterComposite();
|
||||
//var instane = new OpenApiPetstore.OuterComposite();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property myString (base name: "my_string")', function() {
|
||||
// uncomment below and update the code to test the property myString
|
||||
//var instane = new SwaggerPetstore.OuterComposite();
|
||||
//var instane = new OpenApiPetstore.OuterComposite();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property myBoolean (base name: "my_boolean")', function() {
|
||||
// uncomment below and update the code to test the property myBoolean
|
||||
//var instane = new SwaggerPetstore.OuterComposite();
|
||||
//var instane = new OpenApiPetstore.OuterComposite();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,15 +14,15 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
@@ -49,8 +49,8 @@
|
||||
describe('OuterEnum', function() {
|
||||
it('should create an instance of OuterEnum', function() {
|
||||
// uncomment below and update the code to test OuterEnum
|
||||
//var instane = new SwaggerPetstore.OuterEnum();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.OuterEnum);
|
||||
//var instane = new OpenApiPetstore.OuterEnum();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.OuterEnum);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* Swagger Codegen version: 2.2.3-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() {
|
||||
// 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);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -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
|
||||
*
|
||||
* Swagger Codegen version: 2.2.3-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() {
|
||||
// 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);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Pet();
|
||||
instance = new OpenApiPetstore.Pet();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,43 +50,43 @@
|
||||
describe('Pet', function() {
|
||||
it('should create an instance of Pet', function() {
|
||||
// uncomment below and update the code to test Pet
|
||||
//var instane = new SwaggerPetstore.Pet();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Pet);
|
||||
//var instane = new OpenApiPetstore.Pet();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Pet);
|
||||
});
|
||||
|
||||
it('should have the property id (base name: "id")', function() {
|
||||
// uncomment below and update the code to test the property id
|
||||
//var instane = new SwaggerPetstore.Pet();
|
||||
//var instane = new OpenApiPetstore.Pet();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property category (base name: "category")', function() {
|
||||
// uncomment below and update the code to test the property category
|
||||
//var instane = new SwaggerPetstore.Pet();
|
||||
//var instane = new OpenApiPetstore.Pet();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new SwaggerPetstore.Pet();
|
||||
//var instane = new OpenApiPetstore.Pet();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property photoUrls (base name: "photoUrls")', function() {
|
||||
// uncomment below and update the code to test the property photoUrls
|
||||
//var instane = new SwaggerPetstore.Pet();
|
||||
//var instane = new OpenApiPetstore.Pet();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property tags (base name: "tags")', function() {
|
||||
// uncomment below and update the code to test the property tags
|
||||
//var instane = new SwaggerPetstore.Pet();
|
||||
//var instane = new OpenApiPetstore.Pet();
|
||||
//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 SwaggerPetstore.Pet();
|
||||
//var instane = new OpenApiPetstore.Pet();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.ReadOnlyFirst();
|
||||
instance = new OpenApiPetstore.ReadOnlyFirst();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,19 @@
|
||||
describe('ReadOnlyFirst', function() {
|
||||
it('should create an instance of ReadOnlyFirst', function() {
|
||||
// uncomment below and update the code to test ReadOnlyFirst
|
||||
//var instane = new SwaggerPetstore.ReadOnlyFirst();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.ReadOnlyFirst);
|
||||
//var instane = new OpenApiPetstore.ReadOnlyFirst();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.ReadOnlyFirst);
|
||||
});
|
||||
|
||||
it('should have the property bar (base name: "bar")', function() {
|
||||
// uncomment below and update the code to test the property bar
|
||||
//var instane = new SwaggerPetstore.ReadOnlyFirst();
|
||||
//var instane = new OpenApiPetstore.ReadOnlyFirst();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property baz (base name: "baz")', function() {
|
||||
// uncomment below and update the code to test the property baz
|
||||
//var instane = new SwaggerPetstore.ReadOnlyFirst();
|
||||
//var instane = new OpenApiPetstore.ReadOnlyFirst();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.SpecialModelName();
|
||||
instance = new OpenApiPetstore.SpecialModelName();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,13 +50,13 @@
|
||||
describe('SpecialModelName', function() {
|
||||
it('should create an instance of SpecialModelName', function() {
|
||||
// uncomment below and update the code to test SpecialModelName
|
||||
//var instane = new SwaggerPetstore.SpecialModelName();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.SpecialModelName);
|
||||
//var instane = new OpenApiPetstore.SpecialModelName();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.SpecialModelName);
|
||||
});
|
||||
|
||||
it('should have the property specialPropertyName (base name: "$special[property.name]")', function() {
|
||||
// uncomment below and update the code to test the property specialPropertyName
|
||||
//var instane = new SwaggerPetstore.SpecialModelName();
|
||||
//var instane = new OpenApiPetstore.SpecialModelName();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.Tag();
|
||||
instance = new OpenApiPetstore.Tag();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,19 +50,19 @@
|
||||
describe('Tag', function() {
|
||||
it('should create an instance of Tag', function() {
|
||||
// uncomment below and update the code to test Tag
|
||||
//var instane = new SwaggerPetstore.Tag();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.Tag);
|
||||
//var instane = new OpenApiPetstore.Tag();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.Tag);
|
||||
});
|
||||
|
||||
it('should have the property id (base name: "id")', function() {
|
||||
// uncomment below and update the code to test the property id
|
||||
//var instane = new SwaggerPetstore.Tag();
|
||||
//var instane = new OpenApiPetstore.Tag();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new SwaggerPetstore.Tag();
|
||||
//var instane = new OpenApiPetstore.Tag();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/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', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Swagger Petstore
|
||||
* 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
|
||||
* Contact: apiteam@swagger.io
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
*/
|
||||
@@ -14,21 +14,21 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.SwaggerPetstore);
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, SwaggerPetstore) {
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerPetstore.User();
|
||||
instance = new OpenApiPetstore.User();
|
||||
});
|
||||
|
||||
var getProperty = function(object, getter, property) {
|
||||
@@ -50,55 +50,55 @@
|
||||
describe('User', function() {
|
||||
it('should create an instance of User', function() {
|
||||
// uncomment below and update the code to test User
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//expect(instance).to.be.a(SwaggerPetstore.User);
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.User);
|
||||
});
|
||||
|
||||
it('should have the property id (base name: "id")', function() {
|
||||
// uncomment below and update the code to test the property id
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property username (base name: "username")', function() {
|
||||
// uncomment below and update the code to test the property username
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property firstName (base name: "firstName")', function() {
|
||||
// uncomment below and update the code to test the property firstName
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property lastName (base name: "lastName")', function() {
|
||||
// uncomment below and update the code to test the property lastName
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property email (base name: "email")', function() {
|
||||
// uncomment below and update the code to test the property email
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//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 SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property phone (base name: "phone")', function() {
|
||||
// uncomment below and update the code to test the property phone
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property userStatus (base name: "userStatus")', function() {
|
||||
// uncomment below and update the code to test the property userStatus
|
||||
//var instane = new SwaggerPetstore.User();
|
||||
//var instane = new OpenApiPetstore.User();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD.
|
||||
define(['expect.js', '../../src/index'], factory);
|
||||
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('../../src/index'));
|
||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
factory(root.expect, root.OpenApiPetstore);
|
||||
|
||||
Reference in New Issue
Block a user