Hm... I see in the README that Swagger 2.0 does not include the query string component when mapping a URL to an action.
As a result, Swashbuckle will raise an exception if it encounters multiple actions with the same path (sans query string) and HTTP method.
Phew. Is there any generic solution for that? We (and others, I figure) do have a lot of APIs with query strings and a standard route like
config.Routes.MapHttpRoute("DefaultApi", "api/{controller}");
Any ideas?
Thanks!
Hm... I see in the README that Swagger 2.0 does not include the query string component when mapping a URL to an action.
As a result, Swashbuckle will raise an exception if it encounters multiple actions with the same path (sans query string) and HTTP method.
Phew. Is there any generic solution for that? We (and others, I figure) do have a lot of APIs with query strings and a standard route like
config.Routes.MapHttpRoute("DefaultApi", "api/{controller}");
Any ideas?
Thanks!