Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[goserver] Fix single inheritance code generation for goserver #8356

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

randomswdev
Copy link
Contributor

This pull request is intended to fix an issue introduced with #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.

@randomswdev
Copy link
Contributor Author

The continuos integration appears to be failing for a docker pull issue that apepars to me to be unrelated with the pull request.

@randomswdev
Copy link
Contributor Author

@wing328 I see you are reviewing pull request. I think this one is relevant for generating correct code.

@wing328 wing328 added this to the 5.2.0 milestone Jun 14, 2021
@wing328
Copy link
Member

wing328 commented Jun 14, 2021

@randomswdev sorry for taking so long to review your PR.

Tested locally and didn't spot any issue.

Thanks again for the contribution.

@wing328 wing328 merged commit 3edeaee into OpenAPITools:master Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants