That could be a bug with the swagger-maven-plugin. You should open a ticket on that project.
From: <[email protected]> on behalf of Vic <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, 15 December 2016 at 23:21 To: Swagger <[email protected]> Subject: Re: How can I set "collectionFormat" using swagger annotation? Hi Tony, Thanks for your reply, while what I got is "csv", it's weird. Regards, Vic On Friday, December 16, 2016 at 2:36:25 AM UTC+13, tony tam wrote: Hi, the collection format is not supported via annotations, it should default to “multi” which I believe is the default format for JAXRS arrays. On Dec 14, 2016, at 6:12 PM, Vic <[email protected]> wrote: Below is from the auto-generated swagger spec. { "name": "mid", "in": "query", "required": false, "type": "array", "items": { "type": "string", "format": "uuid" }, "collectionFormat": "csv" // HOW TO CHANGE IT? } -- 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. -- 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. -- 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.
