Swagger for Asp.Net Mvc Website

Viewed 8649

I am trying to build a microservice web content api which is a simple ASP.NET MVC Web Project.

My Question is, how can I create a main page which is documentation for routes just like swagger for WEB APIs

I have a RouteConfig.cs like below

routes.MapRoute(RouteNames.X,
                "X/{action}",
                new { controller = "XController", action = "XAction" });

            routes.MapRoute(RouteNames.Y,
                "Y/{action}",
                new { controller = "YController", action = "YAction" });

            routes.MapRoute(RouteNames.Z,
                "Z/{action}",
                new { controller = "ZController", action = "ZAction" });
1 Answers
Related