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
  • Merge requests
  • !8356

[goserver] Fix single inheritance code generation for goserver

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/randomswdev/goserver-allof into master Jan 06, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: randomswdev

This pull request is intended to fix an issue introduced with https://github.com/OpenAPITools/openapi-generator/pull/4934.

The line supportsInheritance = true has been included in the cosntructor of AbstractGoCodegen, which is also the parent class of the go server code generator. The pull request implements changes in the go client's and go deprecated's model.mustache, but not in the go server, even if the change in AbstractGoCodegen affects also this generator.

This PR addresses this.

@antihax @grokify @kemokemo @bkabrda

@wing328 possibly this should be included also in 5.1.x.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/randomswdev/goserver-allof