mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-23 10:49:24 +00:00
fix double hyphen in c# generator
This commit is contained in:
@@ -669,7 +669,7 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
|
||||
|
||||
@Override
|
||||
public String escapeUnsafeCharacters(String input) {
|
||||
return input.replace("*/", "*_/").replace("/*", "/_*");
|
||||
return input.replace("*/", "*_/").replace("/*", "/_*").replace("--", "- -");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user