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].
For more options, visit https://groups.google.com/d/optout.