Skip to content

Support array query parameters with explode #197

Closed

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

Activity

  1. added
    ✨ enhancement
    on Sep 23, 2020
  2. added
    🍭 OpenAPI Compliance
    on Aug 13, 2023
  3. locked and limited conversation to collaborators on Aug 13, 2023
  4. converted this issue into a discussion #831 on Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ enhancement🍭 OpenAPI Compliance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions