mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 21:06:11 +00:00
Set skipFormModel to true by default (#8125)
* set skipFormModel to true by default * update tests * regenerate ruby faraday client * remove inline object spec files * more clean up on inline object files * update samples
This commit is contained in:
@@ -29,12 +29,6 @@ docs/Foo.md
|
||||
docs/FormatTest.md
|
||||
docs/HasOnlyReadOnly.md
|
||||
docs/HealthCheckResult.md
|
||||
docs/InlineObject.md
|
||||
docs/InlineObject1.md
|
||||
docs/InlineObject2.md
|
||||
docs/InlineObject3.md
|
||||
docs/InlineObject4.md
|
||||
docs/InlineObject5.md
|
||||
docs/InlineResponseDefault.md
|
||||
docs/List.md
|
||||
docs/MapTest.md
|
||||
@@ -93,12 +87,6 @@ src/model/Foo.js
|
||||
src/model/FormatTest.js
|
||||
src/model/HasOnlyReadOnly.js
|
||||
src/model/HealthCheckResult.js
|
||||
src/model/InlineObject.js
|
||||
src/model/InlineObject1.js
|
||||
src/model/InlineObject2.js
|
||||
src/model/InlineObject3.js
|
||||
src/model/InlineObject4.js
|
||||
src/model/InlineObject5.js
|
||||
src/model/InlineResponseDefault.js
|
||||
src/model/List.js
|
||||
src/model/MapTest.js
|
||||
|
||||
@@ -186,12 +186,6 @@ Class | Method | HTTP request | Description
|
||||
- [OpenApiPetstore.FormatTest](docs/FormatTest.md)
|
||||
- [OpenApiPetstore.HasOnlyReadOnly](docs/HasOnlyReadOnly.md)
|
||||
- [OpenApiPetstore.HealthCheckResult](docs/HealthCheckResult.md)
|
||||
- [OpenApiPetstore.InlineObject](docs/InlineObject.md)
|
||||
- [OpenApiPetstore.InlineObject1](docs/InlineObject1.md)
|
||||
- [OpenApiPetstore.InlineObject2](docs/InlineObject2.md)
|
||||
- [OpenApiPetstore.InlineObject3](docs/InlineObject3.md)
|
||||
- [OpenApiPetstore.InlineObject4](docs/InlineObject4.md)
|
||||
- [OpenApiPetstore.InlineObject5](docs/InlineObject5.md)
|
||||
- [OpenApiPetstore.InlineResponseDefault](docs/InlineResponseDefault.md)
|
||||
- [OpenApiPetstore.List](docs/List.md)
|
||||
- [OpenApiPetstore.MapTest](docs/MapTest.md)
|
||||
|
||||
@@ -36,12 +36,6 @@ import Foo from './model/Foo';
|
||||
import FormatTest from './model/FormatTest';
|
||||
import HasOnlyReadOnly from './model/HasOnlyReadOnly';
|
||||
import HealthCheckResult from './model/HealthCheckResult';
|
||||
import InlineObject from './model/InlineObject';
|
||||
import InlineObject1 from './model/InlineObject1';
|
||||
import InlineObject2 from './model/InlineObject2';
|
||||
import InlineObject3 from './model/InlineObject3';
|
||||
import InlineObject4 from './model/InlineObject4';
|
||||
import InlineObject5 from './model/InlineObject5';
|
||||
import InlineResponseDefault from './model/InlineResponseDefault';
|
||||
import List from './model/List';
|
||||
import MapTest from './model/MapTest';
|
||||
@@ -247,42 +241,6 @@ export {
|
||||
*/
|
||||
HealthCheckResult,
|
||||
|
||||
/**
|
||||
* The InlineObject model constructor.
|
||||
* @property {module:model/InlineObject}
|
||||
*/
|
||||
InlineObject,
|
||||
|
||||
/**
|
||||
* The InlineObject1 model constructor.
|
||||
* @property {module:model/InlineObject1}
|
||||
*/
|
||||
InlineObject1,
|
||||
|
||||
/**
|
||||
* The InlineObject2 model constructor.
|
||||
* @property {module:model/InlineObject2}
|
||||
*/
|
||||
InlineObject2,
|
||||
|
||||
/**
|
||||
* The InlineObject3 model constructor.
|
||||
* @property {module:model/InlineObject3}
|
||||
*/
|
||||
InlineObject3,
|
||||
|
||||
/**
|
||||
* The InlineObject4 model constructor.
|
||||
* @property {module:model/InlineObject4}
|
||||
*/
|
||||
InlineObject4,
|
||||
|
||||
/**
|
||||
* The InlineObject5 model constructor.
|
||||
* @property {module:model/InlineObject5}
|
||||
*/
|
||||
InlineObject5,
|
||||
|
||||
/**
|
||||
* The InlineResponseDefault model constructor.
|
||||
* @property {module:model/InlineResponseDefault}
|
||||
|
||||
@@ -1,71 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
(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.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject();
|
||||
});
|
||||
|
||||
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('InlineObject', function() {
|
||||
it('should create an instance of InlineObject', function() {
|
||||
// uncomment below and update the code to test InlineObject
|
||||
//var instane = new OpenApiPetstore.InlineObject();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// uncomment below and update the code to test the property name
|
||||
//var instane = new OpenApiPetstore.InlineObject();
|
||||
//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 OpenApiPetstore.InlineObject();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,71 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
(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.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject1();
|
||||
});
|
||||
|
||||
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('InlineObject1', function() {
|
||||
it('should create an instance of InlineObject1', function() {
|
||||
// uncomment below and update the code to test InlineObject1
|
||||
//var instane = new OpenApiPetstore.InlineObject1();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject1);
|
||||
});
|
||||
|
||||
it('should have the property additionalMetadata (base name: "additionalMetadata")', function() {
|
||||
// uncomment below and update the code to test the property additionalMetadata
|
||||
//var instane = new OpenApiPetstore.InlineObject1();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property file (base name: "file")', function() {
|
||||
// uncomment below and update the code to test the property file
|
||||
//var instane = new OpenApiPetstore.InlineObject1();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,71 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
(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.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject2();
|
||||
});
|
||||
|
||||
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('InlineObject2', function() {
|
||||
it('should create an instance of InlineObject2', function() {
|
||||
// uncomment below and update the code to test InlineObject2
|
||||
//var instane = new OpenApiPetstore.InlineObject2();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject2);
|
||||
});
|
||||
|
||||
it('should have the property enumFormStringArray (base name: "enum_form_string_array")', function() {
|
||||
// uncomment below and update the code to test the property enumFormStringArray
|
||||
//var instane = new OpenApiPetstore.InlineObject2();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property enumFormString (base name: "enum_form_string")', function() {
|
||||
// uncomment below and update the code to test the property enumFormString
|
||||
//var instane = new OpenApiPetstore.InlineObject2();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,143 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
(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.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject3();
|
||||
});
|
||||
|
||||
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('InlineObject3', function() {
|
||||
it('should create an instance of InlineObject3', function() {
|
||||
// uncomment below and update the code to test InlineObject3
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject3);
|
||||
});
|
||||
|
||||
it('should have the property integer (base name: "integer")', function() {
|
||||
// uncomment below and update the code to test the property integer
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property patternWithoutDelimiter (base name: "pattern_without_delimiter")', function() {
|
||||
// uncomment below and update the code to test the property patternWithoutDelimiter
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//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 OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property callback (base name: "callback")', function() {
|
||||
// uncomment below and update the code to test the property callback
|
||||
//var instane = new OpenApiPetstore.InlineObject3();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,71 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
(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.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject4();
|
||||
});
|
||||
|
||||
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('InlineObject4', function() {
|
||||
it('should create an instance of InlineObject4', function() {
|
||||
// uncomment below and update the code to test InlineObject4
|
||||
//var instane = new OpenApiPetstore.InlineObject4();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject4);
|
||||
});
|
||||
|
||||
it('should have the property param (base name: "param")', function() {
|
||||
// uncomment below and update the code to test the property param
|
||||
//var instane = new OpenApiPetstore.InlineObject4();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property param2 (base name: "param2")', function() {
|
||||
// uncomment below and update the code to test the property param2
|
||||
//var instane = new OpenApiPetstore.InlineObject4();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -1,71 +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.
|
||||
*
|
||||
*/
|
||||
|
||||
(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.OpenApiPetstore);
|
||||
}
|
||||
}(this, function(expect, OpenApiPetstore) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
beforeEach(function() {
|
||||
instance = new OpenApiPetstore.InlineObject5();
|
||||
});
|
||||
|
||||
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('InlineObject5', function() {
|
||||
it('should create an instance of InlineObject5', function() {
|
||||
// uncomment below and update the code to test InlineObject5
|
||||
//var instane = new OpenApiPetstore.InlineObject5();
|
||||
//expect(instance).to.be.a(OpenApiPetstore.InlineObject5);
|
||||
});
|
||||
|
||||
it('should have the property additionalMetadata (base name: "additionalMetadata")', function() {
|
||||
// uncomment below and update the code to test the property additionalMetadata
|
||||
//var instane = new OpenApiPetstore.InlineObject5();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
it('should have the property requiredFile (base name: "requiredFile")', function() {
|
||||
// uncomment below and update the code to test the property requiredFile
|
||||
//var instane = new OpenApiPetstore.InlineObject5();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
@@ -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);
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
it('should have the property _string (base name: "string")', function() {
|
||||
// uncomment below and update the code to test the property _string
|
||||
//var instane = new OpenApiPetstore.InlineResponseDefault();
|
||||
//var instance = new OpenApiPetstore.InlineResponseDefault();
|
||||
//expect(instance).to.be();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user