yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator
MIT License
626 stars 146 forks source link

SwagGen doesn't support "explode" style query params #188

Open chaseacton opened 5 years ago

chaseacton commented 5 years ago

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.

sblaz commented 5 years ago

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