[Inline model resolver] better handling of inline responses and bug fixes (#12353)

* better handling of inline response schemas, bug fixes

* update samples

* add new files

* better code format

* remove unused ruby files

* fix java test

* remove unused js spec files

* remove inline_response_default_test.dart

* fix webclient tests

* fix spring tests
This commit is contained in:
William Cheng
2022-05-13 10:17:59 +08:00
committed by GitHub
parent 2cf3d3805f
commit 12cdacabbf
284 changed files with 7620 additions and 1220 deletions

View File

@@ -28,7 +28,7 @@
var instance;
beforeEach(function() {
instance = new OpenApiPetstore.InlineResponseDefault();
instance = new OpenApiPetstore.FooGetDefaultResponse();
});
var getProperty = function(object, getter, property) {
@@ -47,16 +47,16 @@
object[property] = value;
}
describe('InlineResponseDefault', function() {
it('should create an instance of InlineResponseDefault', function() {
// uncomment below and update the code to test InlineResponseDefault
//var instane = new OpenApiPetstore.InlineResponseDefault();
//expect(instance).to.be.a(OpenApiPetstore.InlineResponseDefault);
describe('FooGetDefaultResponse', function() {
it('should create an instance of FooGetDefaultResponse', function() {
// uncomment below and update the code to test FooGetDefaultResponse
//var instance = new OpenApiPetstore.FooGetDefaultResponse();
//expect(instance).to.be.a(OpenApiPetstore.FooGetDefaultResponse);
});
it('should have the property _string (base name: "string")', function() {
// uncomment below and update the code to test the property _string
//var instance = new OpenApiPetstore.InlineResponseDefault();
it('should have the property string (base name: "string")', function() {
// uncomment below and update the code to test the property string
//var instance = new OpenApiPetstore.FooGetDefaultResponse();
//expect(instance).to.be();
});