Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #186
Closed
Open
Issue created May 30, 2018 by Administrator@rootContributor

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.

Assignee
Assign to
Time tracking