How can we improve Azure API Management?

Enable Swagger CollectionFormat = multi

It does not appear that the swagger parameters with collectionformat = multi works in the test view. The list of options should be visible in a select list (at least) but allowing users to select multiple items would be best.

example openapi:

parameters: [
name: "status",
in: "query",
description: "Status values that need to be considered for filter",
required: true,
type: "array",
items: {
type: "string",
enum: [
default: "available"
collectionFormat: "multi"

See the pet store example:
/pet/findbystatus example.

9 votes
Sign in
Sign in with: oidc
Signed in as (Sign out)
You have left! (?) (thinking…)
Bob Kolo shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
Sign in with: oidc
Signed in as (Sign out)
  • Jacob Møhl commented  ·   ·  Flag as inappropriate

    I had i similar finding. Arrays in query strings get converted to strings (which is not the same).

Feedback and Knowledge Base