forked from loafle/openapi-generator-original
show writing file for non-template file
This commit is contained in:
parent
7a560865a0
commit
24b110be9d
@ -273,6 +273,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
|||||||
File outputFile = new File(outputFilename);
|
File outputFile = new File(outputFilename);
|
||||||
OutputStream out = new FileOutputStream(outputFile, false);
|
OutputStream out = new FileOutputStream(outputFile, false);
|
||||||
if (in != null && out != null) {
|
if (in != null && out != null) {
|
||||||
|
System.out.println("writing file " + outputFile);
|
||||||
IOUtils.copy(in, out);
|
IOUtils.copy(in, out);
|
||||||
} else {
|
} else {
|
||||||
if (in == null) {
|
if (in == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user