【发布时间】:2021-01-02 06:59:19
【问题描述】:
我刚刚安装了Swashbuckle.AspNetCore 5.6.3 并在需要的地方进行了所有配置。
当我运行调试器并通过浏览器获取localhost:65183/swagger/index.html 时,它在控制台中显示以下错误:
未捕获的类型错误:无法读取未定义的属性“forEach” 在 window.onload (index.html:51) window.onload@index.html:51 加载(异步) (匿名)@index.html:46
我有以下文件夹结构。这是我在 Visual Studio 中的项目的屏幕截图。
【问题讨论】:
标签: asp.net-core swagger swashbuckle.aspnetcore