Re: Array input list combines 2 or more entries as one list element

2017-07-31 Thread Richard Moore
On Friday, July 28, 2017 at 9:52:08 AM UTC-5, Richard Moore wrote: > > I want to be able to pass a comma-separated list of codes. I (attempted > to) defined /getByCode/{code} (see attached) to handle this request. The > generated server code in ServiceImpl has the method signa

Array input list combines 2 or more entries as one list element

2017-07-28 Thread Richard Moore
I want to be able to pass a comma-separated list of codes. I (attempted to) defined /getByCode/{code} (see attached) to handle this request. The generated server code in ServiceImpl has the method signature correct - public Response getFacilityByCode(List code) If I key one code in the editor f

Re: Get by array of values is only coming over as a single string

2017-06-26 Thread Richard Moore
The problem was in the url construct, it should be - http://vdijava:8080/AwgFacilityApi/facility/getByCode?codes=00&codes=01 <http://vdijava:8080/AwgFacilityApi/facility/getByCode?codes=00,01> On Friday, June 23, 2017 at 10:48:27 AM UTC-5, Richard Moore wrote: > > If I u

Get by array of values is only coming over as a single string

2017-06-23 Thread Richard Moore
If I use the url in my browser - http://vdijava:8080/AwgFacilityApi/facility/getByCode?codes=00 I get the following expected response - [{"code":"00","address":{"street":"5000 KANSAS AVE ","city":"KANSAS CITY ","stateAbbreviation":"KS","state":"KANSAS ","zipCo

Re: Petstore test with java generated code not getting same response at ui site

2017-04-24 Thread Richard Moore
I can't believe I didn't see that! Sorry for wasting you guys time. Thanks -- 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 swagger-swaggersocket+unsubscr...@googlegro

Re: Petstore test with java generated code not getting same response at ui site

2017-04-24 Thread Richard Moore
I shortened the results. Seems data is coming back but why is the following not displaying the results? List list = pets.findPetsByStatus(status); for (Pet pet : list) { pet.toString(); } Apr 24, 2017 11:48:44 AM com.sun.jersey.api.client.filter.LoggingFilter log INFO: 1 * Client out-bound reque

Petstore test with java generated code not getting same response at ui site

2017-04-24 Thread Richard Moore
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 status = new ArrayList(); status.add("available"); PetApi pets = new PetApi(); List list = pets.findPetsByStatus(status); for (Pet pet : list) { pet.toString