Swagger UI in .Net Core 2.0 showing error
I have just install Swashbuckle.AspNetCore 5.6.3 and do all the configurations where needed.
when I run the debugger and got the localhost:65183/swagger/index.html from by browser it is showing the following error in console:
Uncaught TypeError: Cannot read property 'forEach' of undefined
at window.onload (index.html:51)
window.onload @ index.html:51
load (async)
(anonymous) @ index.html:46
I have the following folder structure. Here is screenshot of my Project in Visual Studio.
I don know what am I missing. Any help is really appreciable
Thanks
Hi sharif0rifat,
Swashbuckle is not one of our projects and we don't know it well enough to provide support for it. Please open a ticket with Swashbuckle directly:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues