我确实需要WebAPI2项目的API文档,我使用了Swashbuckle5NuGet包。开箱即用,我可以点击{myrooturl}/swagger并弹出一个UI,但其中没有Controller、方法或任何东西。只是我的标题:[baseurl:/EM.Services,apiversion:v1]我查看了Swashbuckle文档,因为我使用的是IIS托管的OWIN,所以我修改了SwaggerConfig:c.RootUrl(req=>req.RequestUri.GetLeftPart(UriPartial.Authority)+req.GetRequestContext().Virt