Monday, July 11, 2016

Problem with configuring Swashbuckle/Swagger for ASP.NET Web API

I was configuring Swashbuckle/Swagger for one of my ASP.NET Web API web applications using the standard NuGet package, when I suddenly encountered this error message:



I occasionally also received this error message in Google Chrome:


No matter what I changed in my Web API application, however, my Swagger documentation would not work!

I was never able to come up with a solution for this problem other than blowing away the whole project and starting from scratch, so if you find a solution for this problem, leave your answer in the comments below!

No comments:

Post a Comment