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
  • #6333
Closed
Open
Issue created May 16, 2020 by Administrator@rootContributor

[REQ] Feature Request - speed up + simplify sample generation

Created by: spacether

Is your feature request related to a problem? Please describe.

  • Local sample generation with ./bin/utils/ensure-up-to-date without batch invocation takes a while, ~15 minutes.
  • When users update .sh and .bat files, sometimes they forget to update the json config files
  • the .sh/.bat/.json config files offer three ways to do the same thing (provide generator inputs). If we use only one way, that will force our users to update the correct files

Describe the solution you'd like

Desired changes:

  • always use batch_mode=True here
  • convert all the .sh and .bat files to store their inputs in json or yaml files like https://github.com/OpenAPITools/openapi-generator/blob/master/bin/csharp-petstore-net-40.json
  • eliminate the generator specific .sh and .bat files
  • perhaps allow passing in a single generator name into ensure-up-to-date to allow generation of individual generators, like the old .sh and .bat files

Describe alternatives you've considered

N/A

Additional context

This ticket was created from a discussion with @jimschubert on Slack

Assignee
Assign to
Time tracking