We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I were to have a controller method like so:
public async Task<IHttpActionResult> Get([FromUri]string[] tags, [FromUri]int? skip = 0, [FromUri]int? top = 1000)
I would expect to have swagger ui render it like it is in the "pets" demo. http://petstore.swagger.io/#!/pet/findPetsByTags
Instead, what I get is:
It appears that the json getting generated is the same:
Mine:
{ "name":"tags", "in":"query", "required":true, "type":"array", "items":{ "type":"string" }, "collectionFormat":"multi" }
Demo:
{ "name":"tags", "in":"query", "description":"Tags to filter by", "required":true, "type":"array", "items":{ "type":"string" }, "collectionFormat":"multi" }
Does anyone have any suggestions?
The text was updated successfully, but these errors were encountered:
This is due to SB bundling a slightly older version of swagger-ui. Will be updated with the next release
Sorry, something went wrong.
Should be resolved in latest release - 5.2.0
Thank you!
No branches or pull requests
If I were to have a controller method like so:
I would expect to have swagger ui render it like it is in the "pets" demo. http://petstore.swagger.io/#!/pet/findPetsByTags
![untitled](https://cloud.githubusercontent.com/assets/3946479/7870878/f617ebb6-0540-11e5-9f62-c7bc5d1bdc6d.png)
Instead, what I get is:
![untitled2](https://cloud.githubusercontent.com/assets/3946479/7870910/348310ce-0541-11e5-90fc-7760ef5309ac.png)
It appears that the json getting generated is the same:
Mine:
Demo:
Does anyone have any suggestions?
The text was updated successfully, but these errors were encountered: