forked from loafle/openapi-generator-original
[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:
34
samples/client/petstore/perl/t/FooGetDefaultResponseTest.t
Normal file
34
samples/client/petstore/perl/t/FooGetDefaultResponseTest.t
Normal file
@@ -0,0 +1,34 @@
|
||||
=begin comment
|
||||
|
||||
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
|
||||
|
||||
Generated by: https://openapi-generator.tech
|
||||
|
||||
=end comment
|
||||
|
||||
=cut
|
||||
|
||||
#
|
||||
# NOTE: This class is auto generated by the OpenAPI Generator
|
||||
# Please update the test cases below to test the model.
|
||||
# Ref: https://openapi-generator.tech
|
||||
#
|
||||
use Test::More tests => 2;
|
||||
use Test::Exception;
|
||||
|
||||
use lib 'lib';
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
|
||||
use_ok('WWW::OpenAPIClient::Object::FooGetDefaultResponse');
|
||||
|
||||
# uncomment below and update the test
|
||||
#my $instance = WWW::OpenAPIClient::Object::FooGetDefaultResponse->new();
|
||||
#
|
||||
#isa_ok($instance, 'WWW::OpenAPIClient::Object::FooGetDefaultResponse');
|
||||
|
||||
Reference in New Issue
Block a user