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
I propose adding support for this via the param XML comments:
/// <param name="keywords" example="hello">A list of search terms</param>[HttpGet(Name="SearchProducts")]publicIEnumerable<Product>Get([FromQuery(Name="kw")]stringkeywords="foobar")
OpenApi 3.0 supports adding examples to parameters.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#exampleObject
I propose adding support for this via the param XML comments:
This populates the swagger-ui form:
I can submit a PR for this.
Related issue: mattfrear/Swashbuckle.AspNetCore.Filters#66 (comment)
The text was updated successfully, but these errors were encountered: