Search code examples
c#.netswagger-ui.net-5

Swagger ui endpoint view section is causing a newline after each character


When i navigate to the swagger ui when i run my dotnet application, each character is listed on a new line when viewing the ui. it causes the section to become extremely big. Can someone please help to fix the bug? I would like the formatting to be a normal one line string. I will attach an image below.

enter image description here


Solution

  • The solution to my problem was simply clearing history and cookies and restarting browser.