We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc9b10 commit 610143fCopy full SHA for 610143f
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/DefaultCodegen.java
@@ -65,7 +65,7 @@ public void processSwagger(Swagger swagger) {}
65
// override with any special text escaping logic
66
public String escapeText(String input) {
67
if(input != null) {
68
- String output = input.replaceAll("\n", " ");
+ String output = input.replaceAll("\n", "\\\\n");
69
output = output.replace("\"", "\\\"");
70
return output;
71
}
0 commit comments