mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 05:47:08 +00:00
fixing replaceAll bug on windows with escaping paths, changed replaceAll() to replace()
This commit is contained in:
@@ -35,6 +35,6 @@ object ScalaWordnikApiCodegen extends BasicScalaGenerator {
|
||||
|
||||
// supporting classes
|
||||
override def supportingFiles = List(
|
||||
("apiInvoker.mustache", destinationDir + "/" + invokerPackage.get.replaceAll("\\.", java.io.File.separator), "ApiInvoker.scala"),
|
||||
("apiInvoker.mustache", destinationDir + "/" + invokerPackage.get.replace(".", java.io.File.separator), "ApiInvoker.scala"),
|
||||
("pom.mustache", destinationRoot, "pom.xml"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user