Hi everyone,
I'm using ring-swagger + spec-tools and trying to send array-like query param to the server from Swagger UI:
What I want to see: orders?status=NEW&status=PROGRESS
, but the request was sent in comma-separated form: orders?status=NEW,PROGRESS
How can I fix it? Seems like I need to add explode true
in serialization params... Thanks in advance!
Seems like I need to add collection-format
(def rest-api
(api
{:ring-swagger {:collection-format "multi"}
:swagger
{:ui "/"
:spec "/swagger.json"
but still doesn't work = (