Hi!

I used swagger generator to generate jaxrs-cxf-client. Now if I call 
api.findPetsByStatus(Arrays.asList("available")) I get following error:

Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: 
Cannot deserialize value of type `io.swagger.model.Pet$StatusEnum` from 
String "available": value not one of declared Enum instance names: 
[AVAILABLE, SOLD, PENDING]

I would assume that generated client would work as such or am I doing 
something 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.

Reply via email to