yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwagGen doesn't support "explode" style query params

chaseacton opened this issue · comments

commented

https://swagger.io/docs/specification/serialization/#query

When explode is set to true on a query param, the expected behavior is that an array of parameters of the same name each gets its own query param like ?name=alice&name=bob, however SwagGen generates this as ?name=alice,bob.

explode: true along with style: form is actually the default