我有一个安装了Swashbuckle的WebApi项目.
在默认设置中,我必须在浏览器中打开http://localhost:56131/swagger/ui/index以查看我的操作说明和测试页面.我希望它可以从站点的根目录访问:http://localhost:56131/.我怎样才能做到这一点?
http://localhost:56131/swagger/ui/index
http://localhost:56131/
c# asp.net-web-api swagger swashbuckle
asp.net-web-api ×1
c# ×1
swagger ×1
swashbuckle ×1