openapi-python-client
openapi-python-client copied to clipboard
Support array query parameters with explode
Is your feature request related to a problem? Please describe.
Given an array query parameter with explode set to false, we'd like to generate a client that handles it properly. For instance, with a parameter:
- name: multipleIds
in: query
schema:
type: array
items:
type: string
explode: false
description: Comma-separated list of IDs of custom entities to get.
The client currently appends the parameter to the query string multiple times like ?multipleIds=1&multipleIds=2
Describe the solution you'd like
Given the above example, the client should generate a URL with a query string like ?multipleIds=1,2