mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-19 18:29:04 +00:00
@@ -148,6 +148,7 @@ public class DefaultCodegen {
|
||||
if (input != null) {
|
||||
input = input.trim();
|
||||
String output = input.replaceAll("\n", "\\\\n");
|
||||
output = output.replace("\r", "\\r");
|
||||
output = output.replace("\"", "\\\"");
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user