mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 07:02:51 +00:00
Merge pull request #1489 from dvz5/master
Fix array query param processing
This commit is contained in:
@@ -77,3 +77,7 @@ is $delete_pet, undef, 'get the null response from delete_pet';
|
||||
throws_ok{$api->get_pet_by_id(pet_id => $pet_id)} qr/API Exception\(404\): Not Found/, "throw 404 error about pet not found after delete";
|
||||
#is $get_pet_after_delete->{status}, undef, 'get the updated status after update_pet_with_form';
|
||||
|
||||
my $pets;
|
||||
lives_ok {$pets = $api->find_pets_by_status(status => [qw(sold available)])} 'array query param processed correctly';
|
||||
isa_ok($pets->[0], 'WWW::SwaggerClient::Object::Pet');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user