Fork me on GitHub
#ring-swagger
<
2020-05-07
>
Temsan07:05:47

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!

Temsan15:05:05

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 = (