mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
Fixed issue in configuring output path for supporting files.
This commit is contained in:
parent
7370354535
commit
fe30ed3580
@ -505,7 +505,7 @@ class Codegen(config: CodegenConfig) {
|
||||
val outputDir = file._2
|
||||
val destFile = file._3
|
||||
|
||||
val outputFilename = outputDir.replaceAll("\\.", File.separator) + File.separator + destFile
|
||||
val outputFilename = outputDir + File.separator + destFile
|
||||
val outputFolder = new File(outputFilename).getParent
|
||||
new File(outputFolder).mkdirs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user