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
  • #3755
Closed
Open
Issue created Aug 26, 2019 by Administrator@rootContributor

[REQ] Support git repositories other than github.com

Created by: qmuntal

I'm hosting an auto generated go client in an private instance of github enterprise and the generated mod.go file points to github.com instead of my own host.

I would like to be able to configure the host of my git repository using a cli parameter, for example --git-host, in the same way as it is done for --git-user-id and --git-repo-id.

Without this parameter, the only alternatives I have are:

  • Manually update the auto generated code, which creates a maintenance problem when regenerating the code.
  • Create an custom extension with the hard-coded host, which seem to be an overkill to just modify an url
Assignee
Assign to
Time tracking