I am trying to install Swagger API in my ASP.NET WEB API 2
project.
I have installed the swashbuckle
( v5.4.0 ) nuget package. I then debug the project and got to URL/swagger/ui/index
where I get Fetching resource list: http://localhost:44432/swagger/docsv1; Please wait.
After some time I get the chrome page not responding. Kill or Wait screen.
I am using default SwaggerConfig.cs
.
I have run the json validation test at: https://online.swagger.io/validator/debug?url={SwaggerJSON URL HERE}/docs/v1
What steps can I take to further debug my issue here?
[Edit] I accidentally left my one tab open, and after a good 30 minutes the page rendered. What could be causing this? Possibly a endless recursion when parsing the json file?
https://github.com/domaindrivendev/Swashbuckle/issues/891 Im not sure if this will help you but you can check out this issue.
It would be interesting to see if its the same issue affecting you on your local machine where it was only happening to me when I hosted it on the internet.
I just forked the project and changed the buffer size and used the custom DLL while I'm waiting for a response on the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With