cancel
Showing results for 
Search instead for 
Did you mean: 

How to Debug Swagger/Swashbuckle Error 500?

Occasional Visitor

How to Debug Swagger/Swashbuckle Error 500?

I have an ASP.Net WebAPI app with Swashbuckle 5.6. Everything is configured to work fine, but there are multiple endpoints which are incompatible with Swagger (i.e. overloaded endpoints and other issues). The problem is that all we get back is an error 500 from Swagger/Swashbuckle with no information on why things aren't working. Is there some way to see debug information such as the problem endpoint, what the error was, etc.?

 

For screenshots and more, please see the Stack Overflow question I asked on this topic. The concern right now isn't "how do I fix my Swagger issues", but instead "how do I get Swagger to tell me what's wrong?"