You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am wondering if allowMultiple is a working (or recommended) way to document an API using swagger UI. I am creating a new API that originally used a repeating query string parameter to support rails/PHP/HTML style (http://server/resource?foo[]=a&foo=b).
Then I found this was not supported in Swagger, so I changed it to use allowMultiple and comma-separated syntax (http://server/resource?foo=a,b).
But the swagger UI only displays a single text box. I have tried putting a space and a comma in the input field, but swagger UI URL encodes these and passes them. Is there any way to make the UI either display multiple boxes or (more likely) understand a separator string?
The text was updated successfully, but these errors were encountered:
Hi, I am wondering if allowMultiple is a working (or recommended) way to document an API using swagger UI. I am creating a new API that originally used a repeating query string parameter to support rails/PHP/HTML style (http://server/resource?foo[]=a&foo=b).
Then I found this was not supported in Swagger, so I changed it to use allowMultiple and comma-separated syntax (http://server/resource?foo=a,b).
So, I documented my API:
But the swagger UI only displays a single text box. I have tried putting a space and a comma in the input field, but swagger UI URL encodes these and passes them. Is there any way to make the UI either display multiple boxes or (more likely) understand a separator string?
The text was updated successfully, but these errors were encountered: