I have integrated swagger in WebApi 2 application. It works fine when application has single controller. When I added second controller in the application. I got following
Sorry, I answered it too late: the solution to the problem is to remove any route versioning attribute on the controller if you have more than one controller; the swagger picks route from the WebApiConfig by default. Note: You do not need to provide the action name or the route. Just make sure that no two actions have the same name nor signature; of course, it can never compile.