Merge remote-tracking branch 'origin/master' into 6.0.x

This commit is contained in:
William Cheng
2021-03-13 23:26:43 +08:00
2695 changed files with 36127 additions and 2704 deletions

View File

@@ -34,7 +34,6 @@ docs/List.md
docs/MapTest.md
docs/MixedPropertiesAndAdditionalPropertiesClass.md
docs/Model200Response.md
docs/ModelReturn.md
docs/Name.md
docs/NullableClass.md
docs/NumberOnly.md
@@ -44,9 +43,11 @@ docs/OuterEnum.md
docs/OuterEnumDefaultValue.md
docs/OuterEnumInteger.md
docs/OuterEnumIntegerDefaultValue.md
docs/OuterObjectWithEnumProperty.md
docs/Pet.md
docs/PetApi.md
docs/ReadOnlyFirst.md
docs/Return.md
docs/SpecialModelName.md
docs/StoreApi.md
docs/Tag.md
@@ -92,7 +93,6 @@ src/model/List.js
src/model/MapTest.js
src/model/MixedPropertiesAndAdditionalPropertiesClass.js
src/model/Model200Response.js
src/model/ModelReturn.js
src/model/Name.js
src/model/NullableClass.js
src/model/NumberOnly.js
@@ -102,8 +102,10 @@ src/model/OuterEnum.js
src/model/OuterEnumDefaultValue.js
src/model/OuterEnumInteger.js
src/model/OuterEnumIntegerDefaultValue.js
src/model/OuterObjectWithEnumProperty.js
src/model/Pet.js
src/model/ReadOnlyFirst.js
src/model/Return.js
src/model/SpecialModelName.js
src/model/Tag.js
src/model/User.js

View File

@@ -128,6 +128,7 @@ Class | Method | HTTP request | Description
*OpenApiPetstore.FakeApi* | [**fakeOuterCompositeSerialize**](docs/FakeApi.md#fakeOuterCompositeSerialize) | **POST** /fake/outer/composite |
*OpenApiPetstore.FakeApi* | [**fakeOuterNumberSerialize**](docs/FakeApi.md#fakeOuterNumberSerialize) | **POST** /fake/outer/number |
*OpenApiPetstore.FakeApi* | [**fakeOuterStringSerialize**](docs/FakeApi.md#fakeOuterStringSerialize) | **POST** /fake/outer/string |
*OpenApiPetstore.FakeApi* | [**fakePropertyEnumIntegerSerialize**](docs/FakeApi.md#fakePropertyEnumIntegerSerialize) | **POST** /fake/property/enum-int |
*OpenApiPetstore.FakeApi* | [**testBodyWithFileSchema**](docs/FakeApi.md#testBodyWithFileSchema) | **PUT** /fake/body-with-file-schema |
*OpenApiPetstore.FakeApi* | [**testBodyWithQueryParams**](docs/FakeApi.md#testBodyWithQueryParams) | **PUT** /fake/body-with-query-params |
*OpenApiPetstore.FakeApi* | [**testClientModel**](docs/FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
@@ -191,7 +192,6 @@ Class | Method | HTTP request | Description
- [OpenApiPetstore.MapTest](docs/MapTest.md)
- [OpenApiPetstore.MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md)
- [OpenApiPetstore.Model200Response](docs/Model200Response.md)
- [OpenApiPetstore.ModelReturn](docs/ModelReturn.md)
- [OpenApiPetstore.Name](docs/Name.md)
- [OpenApiPetstore.NullableClass](docs/NullableClass.md)
- [OpenApiPetstore.NumberOnly](docs/NumberOnly.md)
@@ -201,8 +201,10 @@ Class | Method | HTTP request | Description
- [OpenApiPetstore.OuterEnumDefaultValue](docs/OuterEnumDefaultValue.md)
- [OpenApiPetstore.OuterEnumInteger](docs/OuterEnumInteger.md)
- [OpenApiPetstore.OuterEnumIntegerDefaultValue](docs/OuterEnumIntegerDefaultValue.md)
- [OpenApiPetstore.OuterObjectWithEnumProperty](docs/OuterObjectWithEnumProperty.md)
- [OpenApiPetstore.Pet](docs/Pet.md)
- [OpenApiPetstore.ReadOnlyFirst](docs/ReadOnlyFirst.md)
- [OpenApiPetstore.Return](docs/Return.md)
- [OpenApiPetstore.SpecialModelName](docs/SpecialModelName.md)
- [OpenApiPetstore.Tag](docs/Tag.md)
- [OpenApiPetstore.User](docs/User.md)

View File

@@ -10,6 +10,7 @@ Method | HTTP request | Description
[**fakeOuterCompositeSerialize**](FakeApi.md#fakeOuterCompositeSerialize) | **POST** /fake/outer/composite |
[**fakeOuterNumberSerialize**](FakeApi.md#fakeOuterNumberSerialize) | **POST** /fake/outer/number |
[**fakeOuterStringSerialize**](FakeApi.md#fakeOuterStringSerialize) | **POST** /fake/outer/string |
[**fakePropertyEnumIntegerSerialize**](FakeApi.md#fakePropertyEnumIntegerSerialize) | **POST** /fake/property/enum-int |
[**testBodyWithFileSchema**](FakeApi.md#testBodyWithFileSchema) | **PUT** /fake/body-with-file-schema |
[**testBodyWithQueryParams**](FakeApi.md#testBodyWithQueryParams) | **PUT** /fake/body-with-query-params |
[**testClientModel**](FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
@@ -299,6 +300,51 @@ No authorization required
- **Accept**: */*
## fakePropertyEnumIntegerSerialize
> OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty)
Test serialization of enum (int) properties with examples
### Example
```javascript
import OpenApiPetstore from 'open_api_petstore';
let apiInstance = new OpenApiPetstore.FakeApi();
let outerObjectWithEnumProperty = new OpenApiPetstore.OuterObjectWithEnumProperty(); // OuterObjectWithEnumProperty | Input enum (int) as post body
apiInstance.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**outerObjectWithEnumProperty** | [**OuterObjectWithEnumProperty**](OuterObjectWithEnumProperty.md)| Input enum (int) as post body |
### Return type
[**OuterObjectWithEnumProperty**](OuterObjectWithEnumProperty.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: */*
## testBodyWithFileSchema
> testBodyWithFileSchema(fileSchemaTestClass)
@@ -436,7 +482,7 @@ No authorization required
## testEndpointParameters
> testEndpointParameters(_number, _double, patternWithoutDelimiter, _byte, opts)
> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, opts)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -453,7 +499,7 @@ http_basic_test.username = 'YOUR USERNAME';
http_basic_test.password = 'YOUR PASSWORD';
let apiInstance = new OpenApiPetstore.FakeApi();
let _number = 3.4; // Number | None
let number = 3.4; // Number | None
let _double = 3.4; // Number | None
let patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
let _byte = null; // Blob | None
@@ -462,14 +508,14 @@ let opts = {
'int32': 56, // Number | None
'int64': 789, // Number | None
'_float': 3.4, // Number | None
'_string': "_string_example", // String | None
'string': "string_example", // String | None
'binary': "/path/to/file", // File | None
'_date': new Date("2013-10-20"), // Date | None
'date': new Date("2013-10-20"), // Date | None
'dateTime': new Date("2013-10-20T19:20:30+01:00"), // Date | None
'password': "password_example", // String | None
'callback': "callback_example" // String | None
};
apiInstance.testEndpointParameters(_number, _double, patternWithoutDelimiter, _byte, opts, (error, data, response) => {
apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
@@ -483,7 +529,7 @@ apiInstance.testEndpointParameters(_number, _double, patternWithoutDelimiter, _b
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**_number** | **Number**| None |
**number** | **Number**| None |
**_double** | **Number**| None |
**patternWithoutDelimiter** | **String**| None |
**_byte** | **Blob**| None |
@@ -491,9 +537,9 @@ Name | Type | Description | Notes
**int32** | **Number**| None | [optional]
**int64** | **Number**| None | [optional]
**_float** | **Number**| None | [optional]
**_string** | **String**| None | [optional]
**string** | **String**| None | [optional]
**binary** | **File**| None | [optional]
**_date** | **Date**| None | [optional]
**date** | **Date**| None | [optional]
**dateTime** | **Date**| None | [optional]
**password** | **String**| None | [optional]
**callback** | **String**| None | [optional]

View File

@@ -7,14 +7,14 @@ Name | Type | Description | Notes
**integer** | **Number** | | [optional]
**int32** | **Number** | | [optional]
**int64** | **Number** | | [optional]
**_number** | **Number** | |
**number** | **Number** | |
**_float** | **Number** | | [optional]
**_double** | **Number** | | [optional]
**decimal** | **Number** | | [optional]
**_string** | **String** | | [optional]
**string** | **String** | | [optional]
**_byte** | **Blob** | |
**binary** | **File** | | [optional]
**_date** | **Date** | |
**date** | **Date** | |
**dateTime** | **Date** | | [optional]
**uuid** | **String** | | [optional]
**password** | **String** | |

View File

@@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_string** | [**Foo**](Foo.md) | | [optional]
**string** | [**Foo**](Foo.md) | | [optional]

View File

@@ -0,0 +1,9 @@
# OpenApiPetstore.OuterObjectWithEnumProperty
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | [**OuterEnumInteger**](OuterEnumInteger.md) | |

View File

@@ -0,0 +1,9 @@
# OpenApiPetstore.Return
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_return** | **Number** | | [optional]

View File

@@ -17,6 +17,7 @@ import Client from '../model/Client';
import FileSchemaTestClass from '../model/FileSchemaTestClass';
import HealthCheckResult from '../model/HealthCheckResult';
import OuterComposite from '../model/OuterComposite';
import OuterObjectWithEnumProperty from '../model/OuterObjectWithEnumProperty';
import Pet from '../model/Pet';
import User from '../model/User';
@@ -277,6 +278,47 @@ export default class FakeApi {
);
}
/**
* Callback function to receive the result of the fakePropertyEnumIntegerSerialize operation.
* @callback module:api/FakeApi~fakePropertyEnumIntegerSerializeCallback
* @param {String} error Error message, if any.
* @param {module:model/OuterObjectWithEnumProperty} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/
/**
* Test serialization of enum (int) properties with examples
* @param {module:model/OuterObjectWithEnumProperty} outerObjectWithEnumProperty Input enum (int) as post body
* @param {module:api/FakeApi~fakePropertyEnumIntegerSerializeCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/OuterObjectWithEnumProperty}
*/
fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty, callback) {
let postBody = outerObjectWithEnumProperty;
// verify the required parameter 'outerObjectWithEnumProperty' is set
if (outerObjectWithEnumProperty === undefined || outerObjectWithEnumProperty === null) {
throw new Error("Missing the required parameter 'outerObjectWithEnumProperty' when calling fakePropertyEnumIntegerSerialize");
}
let pathParams = {
};
let queryParams = {
};
let headerParams = {
};
let formParams = {
};
let authNames = [];
let contentTypes = ['application/json'];
let accepts = ['*/*'];
let returnType = OuterObjectWithEnumProperty;
return this.apiClient.callApi(
'/fake/property/enum-int', 'POST',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, null, callback
);
}
/**
* Callback function to receive the result of the testBodyWithFileSchema operation.
* @callback module:api/FakeApi~testBodyWithFileSchemaCallback
@@ -415,7 +457,7 @@ export default class FakeApi {
/**
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* @param {Number} _number None
* @param {Number} number None
* @param {Number} _double None
* @param {String} patternWithoutDelimiter None
* @param {Blob} _byte None
@@ -424,20 +466,20 @@ export default class FakeApi {
* @param {Number} opts.int32 None
* @param {Number} opts.int64 None
* @param {Number} opts._float None
* @param {String} opts._string None
* @param {String} opts.string None
* @param {File} opts.binary None
* @param {Date} opts._date None
* @param {Date} opts.date None
* @param {Date} opts.dateTime None
* @param {String} opts.password None
* @param {String} opts.callback None
* @param {module:api/FakeApi~testEndpointParametersCallback} callback The callback function, accepting three arguments: error, data, response
*/
testEndpointParameters(_number, _double, patternWithoutDelimiter, _byte, opts, callback) {
testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, opts, callback) {
opts = opts || {};
let postBody = null;
// verify the required parameter '_number' is set
if (_number === undefined || _number === null) {
throw new Error("Missing the required parameter '_number' when calling testEndpointParameters");
// verify the required parameter 'number' is set
if (number === undefined || number === null) {
throw new Error("Missing the required parameter 'number' when calling testEndpointParameters");
}
// verify the required parameter '_double' is set
if (_double === undefined || _double === null) {
@@ -462,14 +504,14 @@ export default class FakeApi {
'integer': opts['integer'],
'int32': opts['int32'],
'int64': opts['int64'],
'number': _number,
'number': number,
'float': opts['_float'],
'double': _double,
'string': opts['_string'],
'string': opts['string'],
'pattern_without_delimiter': patternWithoutDelimiter,
'byte': _byte,
'binary': opts['binary'],
'date': opts['_date'],
'date': opts['date'],
'dateTime': opts['dateTime'],
'password': opts['password'],
'callback': opts['callback']

View File

@@ -41,7 +41,6 @@ import List from './model/List';
import MapTest from './model/MapTest';
import MixedPropertiesAndAdditionalPropertiesClass from './model/MixedPropertiesAndAdditionalPropertiesClass';
import Model200Response from './model/Model200Response';
import ModelReturn from './model/ModelReturn';
import Name from './model/Name';
import NullableClass from './model/NullableClass';
import NumberOnly from './model/NumberOnly';
@@ -51,8 +50,10 @@ import OuterEnum from './model/OuterEnum';
import OuterEnumDefaultValue from './model/OuterEnumDefaultValue';
import OuterEnumInteger from './model/OuterEnumInteger';
import OuterEnumIntegerDefaultValue from './model/OuterEnumIntegerDefaultValue';
import OuterObjectWithEnumProperty from './model/OuterObjectWithEnumProperty';
import Pet from './model/Pet';
import ReadOnlyFirst from './model/ReadOnlyFirst';
import Return from './model/Return';
import SpecialModelName from './model/SpecialModelName';
import Tag from './model/Tag';
import User from './model/User';
@@ -271,12 +272,6 @@ export {
*/
Model200Response,
/**
* The ModelReturn model constructor.
* @property {module:model/ModelReturn}
*/
ModelReturn,
/**
* The Name model constructor.
* @property {module:model/Name}
@@ -331,6 +326,12 @@ export {
*/
OuterEnumIntegerDefaultValue,
/**
* The OuterObjectWithEnumProperty model constructor.
* @property {module:model/OuterObjectWithEnumProperty}
*/
OuterObjectWithEnumProperty,
/**
* The Pet model constructor.
* @property {module:model/Pet}
@@ -343,6 +344,12 @@ export {
*/
ReadOnlyFirst,
/**
* The Return model constructor.
* @property {module:model/Return}
*/
Return,
/**
* The SpecialModelName model constructor.
* @property {module:model/SpecialModelName}

View File

@@ -22,14 +22,14 @@ class FormatTest {
/**
* Constructs a new <code>FormatTest</code>.
* @alias module:model/FormatTest
* @param _number {Number}
* @param number {Number}
* @param _byte {Blob}
* @param _date {Date}
* @param date {Date}
* @param password {String}
*/
constructor(_number, _byte, _date, password) {
constructor(number, _byte, date, password) {
FormatTest.initialize(this, _number, _byte, _date, password);
FormatTest.initialize(this, number, _byte, date, password);
}
/**
@@ -37,10 +37,10 @@ class FormatTest {
* 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, _number, _byte, _date, password) {
obj['number'] = _number;
static initialize(obj, number, _byte, date, password) {
obj['number'] = number;
obj['byte'] = _byte;
obj['date'] = _date;
obj['date'] = date;
obj['password'] = password;
}

View File

@@ -0,0 +1,74 @@
/**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
import ApiClient from '../ApiClient';
import OuterEnumInteger from './OuterEnumInteger';
/**
* The OuterObjectWithEnumProperty model module.
* @module model/OuterObjectWithEnumProperty
* @version 1.0.0
*/
class OuterObjectWithEnumProperty {
/**
* Constructs a new <code>OuterObjectWithEnumProperty</code>.
* @alias module:model/OuterObjectWithEnumProperty
* @param value {module:model/OuterEnumInteger}
*/
constructor(value) {
OuterObjectWithEnumProperty.initialize(this, value);
}
/**
* 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, value) {
obj['value'] = value;
}
/**
* Constructs a <code>OuterObjectWithEnumProperty</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/OuterObjectWithEnumProperty} obj Optional instance to populate.
* @return {module:model/OuterObjectWithEnumProperty} The populated <code>OuterObjectWithEnumProperty</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new OuterObjectWithEnumProperty();
if (data.hasOwnProperty('value')) {
obj['value'] = OuterEnumInteger.constructFromObject(data['value']);
}
}
return obj;
}
}
/**
* @member {module:model/OuterEnumInteger} value
*/
OuterObjectWithEnumProperty.prototype['value'] = undefined;
export default OuterObjectWithEnumProperty;

View File

@@ -0,0 +1,72 @@
/**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
import ApiClient from '../ApiClient';
/**
* The Return model module.
* @module model/Return
* @version 1.0.0
*/
class Return {
/**
* Constructs a new <code>Return</code>.
* Model for testing reserved words
* @alias module:model/Return
*/
constructor() {
Return.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>Return</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/Return} obj Optional instance to populate.
* @return {module:model/Return} The populated <code>Return</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new Return();
if (data.hasOwnProperty('return')) {
obj['return'] = ApiClient.convertToType(data['return'], 'Number');
}
}
return obj;
}
}
/**
* @member {Number} return
*/
Return.prototype['return'] = undefined;
export default Return;

View File

@@ -0,0 +1,65 @@
/**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD.
define(['expect.js', process.cwd()+'/src/index'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
factory(require('expect.js'), require(process.cwd()+'/src/index'));
} else {
// Browser globals (root is window)
factory(root.expect, root.OpenApiPetstore);
}
}(this, function(expect, OpenApiPetstore) {
'use strict';
var instance;
beforeEach(function() {
instance = new OpenApiPetstore.OuterObjectWithEnumProperty();
});
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('OuterObjectWithEnumProperty', function() {
it('should create an instance of OuterObjectWithEnumProperty', function() {
// uncomment below and update the code to test OuterObjectWithEnumProperty
//var instane = new OpenApiPetstore.OuterObjectWithEnumProperty();
//expect(instance).to.be.a(OpenApiPetstore.OuterObjectWithEnumProperty);
});
it('should have the property value (base name: "value")', function() {
// uncomment below and update the code to test the property value
//var instance = new OpenApiPetstore.OuterObjectWithEnumProperty();
//expect(instance).to.be();
});
});
}));

View File

@@ -2,7 +2,7 @@
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,10 +14,10 @@
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD.
define(['expect.js', '../../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);
@@ -28,7 +28,7 @@
var instance;
beforeEach(function() {
instance = new OpenApiPetstore.ModelReturn();
instance = new OpenApiPetstore.Return();
});
var getProperty = function(object, getter, property) {
@@ -47,16 +47,16 @@
object[property] = value;
}
describe('ModelReturn', function() {
it('should create an instance of ModelReturn', function() {
// uncomment below and update the code to test ModelReturn
//var instane = new OpenApiPetstore.ModelReturn();
//expect(instance).to.be.a(OpenApiPetstore.ModelReturn);
describe('Return', function() {
it('should create an instance of Return', function() {
// uncomment below and update the code to test Return
//var instane = new OpenApiPetstore.Return();
//expect(instance).to.be.a(OpenApiPetstore.Return);
});
it('should have the property _return (base name: "return")', function() {
// uncomment below and update the code to test the property _return
//var instane = new OpenApiPetstore.ModelReturn();
//var instance = new OpenApiPetstore.Return();
//expect(instance).to.be();
});