Forum Discussion

paphuc's avatar
paphuc
Occasional Visitor
6 years ago

Swagger UI - Response with a newline character

Hi all,

    

       I have an issue when response an error which included new line characters (\n) and \r.

{
  "error": "Can not connect to the database.\r\nError code = 2010\r\n\nExit Value = 2010\n"
}

     Can we convert them to a newline within Swagger UI?

    Thanks in advance

 

Regards

Phuc Pham

 

No RepliesBe the first to reply