Forum Discussion

adarling's avatar
adarling
New Contributor
5 years ago

Changing API Response Based on Query Parameter

Hi all, I'm trying to figure out if it's possible to specify different API behaviors for a single endpoint with the Swagger editor based on query parameter provided? I'm looking at and endpoint li...
  • RonRatovsky's avatar
    5 years ago

    Currently, OpenAPI does not allow distinguishing calls using query parameters. It's a future enhancement that's being considered.