1

I have the scenario where an endpoint can accept 'N' number of query parameters with a non-predetermined name and value i.e. I have no idea what query parameters someone might pass in e.g.

?i=can&pass=anything&in=here

How would I describe the above using the Swagger specification?

Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311

1 Answers1

6

Looks like it's not supported in the version 2.0 of the OpenAPI specification, but it may be addressed in future versions.

This issue and this pull request can give you more details.

cassiomolin
  • 124,154
  • 35
  • 280
  • 359