Skip to content

Support array query parameters with explode #197

@bowenwr

Description

@bowenwr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions