Skip to content

Question (Bug?): Query multi values #1788

Closed
@florianbepunkt

Description

@florianbepunkt

We're generating a client from an eBay OpenAPI spec (https://developer.ebay.com/api-docs/master/sell/finances/openapi/3/sell_finances_v1_oas3.json).

This gives us the desired method:

getTransactions({
            baseUrl: "https://apiz.ebay.com/sell/finances/v1",
            fetch: signedFetch,
            query: {
              filter: `transactionDate:[${period.start.toISOString()}..${period.end.toISOString()}]`,
              limit: `${limit}`,
              offset: `${offset}`,
            },
          })

However the eBay API allows for multiple filters to be set.

So in a GET URL this would be DOMAIN.com?filter=filterA&filter=filterB.

But these multi query params do not translate to the generated client. I can't specify an array for filter, so unsure what to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions