摘要: https://github.com/domaindrivendev/Ahoy打开nuget包管理器,搜索Swashbuckle打开Startup.cs文件在ConfigureServices方法下添加如下代码services.AddSwaggerGen();在Configure方法下添加如下代码a... 阅读全文
posted @ 2015-12-25 15:36 Varorbc 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 将RouteConfig代码修改为如下 public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.Ignor... 阅读全文
posted @ 2015-12-25 09:57 Varorbc 阅读(753) 评论(0) 推荐(0) 编辑