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
Add route attribute for the method [Route("ApiAnotherFunction")] and [HttpGet].
[Route("ApiAnotherFunction")]
[HttpGet]