I have an ASP.NET WebAPI project where I am attempting to replace our old XmlDocumentationProvider page with Swagger UI. I am using the swashbuckle swagger for webAPI 5.3.1
Check your ResponseType attribute for your api methods. In my case while i was modifying an api method i forgot to delete reponsetype since i removed returning an object.