Swagger UI freezes after API fetch and browser crashes

后端 未结 5 842
臣服心动
臣服心动 2021-01-12 20:41

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

5条回答
  •  醉梦人生
    2021-01-12 20:58

    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.

提交回复
热议问题