forked from loafle/openapi-generator-original
escape unsafe characters/quotes in elixir generator (#4676)
This commit is contained in:
parent
2cffa097f0
commit
ee857d1be3
@ -374,4 +374,15 @@ public class ElixirClientCodegen extends DefaultCodegen implements CodegenConfig
|
||||
this.replacedPathName = replacedPathName;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String escapeQuotationMark(String input) {
|
||||
return input.replace("\"", "");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String escapeUnsafeCharacters(String input) {
|
||||
// no need to escape as Elixir does not support multi-line comments
|
||||
return input;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user