Hello,

Using a swagger generated java client for the Transport for London unified 
API (definition: https://api.tfl.gov.uk/swagger/docs/v1).

The generated client is forming the calls to the API by calling toString on 
the array parameters, which then includes the square brackets and causes 
the request to fail.

Using swagger codegen maven plugin version 2.3.1.

Is this down to a mistake in the swagger definition or in swagger itself?

Example: 
https://api.tfl.gov.uk/Line/Mode/%5Btube%2C%20dlr%5D/Status?detail=true

What it should be: 
https://api.tfl.gov.uk/Line/Mode/tube%2Cdlr/Status?detail=true

Any help much appreciated!

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

Reply via email to