Output of the generator is not working in the cli
Created by: JFCote
Description
When I try to put the output of the cli in a text file when doing a generation, it doesn't work. If I do a validate
, it works.
openapi-generator version
Latest master
OpenAPI declaration file content or url
Any
Command line used for generation
java -jar openapi-generator-cli.jar generate -i swagger.yaml --generator-name
java-play-framework -o generatedServer -DhideGenerationTimestamp=true > lol.txt
Steps to reproduce
Just run the above command line and notice the lol.txt is 0 byte. If you do a validate
instead, the file is modified as expected.
Related issues/PRs
None that I know of.
Suggest a fix/enhancement
I really don't know for the moment.