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
  • #8710
Closed
Open
Issue created Feb 15, 2021 by Administrator@rootContributor

[REQ] [VERTX_WEB] Use DefaultApiHandler with an own implementation of ApiImpl

Created by: thobi73

Description:

DefaultApiHandler contains DefaultApi which is set in the default constructor and it is not accessible from outside the class. So, it is impossible to use the generated DefaultApiHandler with an own implementation of DefaultApi.

Openapi-generator version

5.0.1

Suggested Solution:

Generate a second constructor to DefaultApiHandler

public DefaultApiHandler (final DefaultApi apiImpl) {
   this.apiImpl = apiImpl;
}

Workaround for now

use gradle copy task to manipulate generated code

Assignee
Assign to
Time tracking