Please set:

pets.getApiClient().setDebug(true);

And post back what you see in your console.

> On Apr 24, 2017, at 9:13 AM, Richard Moore <[email protected]> wrote:
> 
> If I go to http://petstore.swagger.io/ and list pets by "available" status I 
> get results back. But using the generated client code - 
> 
> List<String> status = new ArrayList<String>();
> status.add("available");
> 
> PetApi pets = new PetApi();
> List<Pet> list = pets.findPetsByStatus(status);
> for (Pet pet : list) {
>       pet.toString();
> }
> 
> I get no results. What am I doing wrong?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to