C#Swagger使用

1.新建的web项目带有webapi 2.Nuget包新增Swagger 或者也可以输入代码 Install-Package Swashbuckle 3.修改SwaggerConfig,大概108行 c.IncludeXmlComments(GetXmlCommentsPath(thisAssembly.GetName().Name)); 增加方法 protected static string
相关文章
相关标签/搜索