openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[Default] Generate referenced superclass even without properties

Open Zomzog opened this issue 6 years ago • 10 comments

I've done the change on the default branch because I can reproduce with Java and Kotlin and I think it may be an issue on other languages. So I add the core team and not just the Java technical committee.

May fix #7638

@wing328 @jimschubert @cbornet @ackintosh @jmini @etherealjoy @spacether

PR checklist

  • [x] Read the contribution guidelines.
  • [x] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • [ ] If contributing template-only or documentation-only changes which will change sample output, build the project beforehand.
  • [x] Run the shell script ./bin/generate-samples.shto update all Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master. These must match the expectations made by your contribution. You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/java*. For Windows users, please run the script in Git BASH.
  • [x] File the PR against the correct branch: master
  • [x] Copy the technical committee to review the pull request if your PR is targeting a particular programming language.

Zomzog avatar Oct 11 '20 19:10 Zomzog

Hello ! Any update on this PR ? Or is there anything we (non maintainers) can do to help? I just faced the same issue and wonder if I should wait for an update of openapi generator, or fork and build patched version?

pchesneau avatar Sep 28 '21 14:09 pchesneau

Following up, I am facing the same issue for my project.

BennyKitchell avatar Apr 15 '22 17:04 BennyKitchell

Sorry that this fell through the cracks. @Zomzog can you rebase this on master and resolve the merge conflict?

spacether avatar Apr 15 '22 17:04 spacether

Are there any updates on this ticket? Would be great if this'd be implemented in a future release.

harmvanderwal avatar May 17 '22 11:05 harmvanderwal

Bump on this @Zomzog, is there anything we can do in the community to help get this merged? Thanks!

BennyKitchell avatar May 20 '22 16:05 BennyKitchell

I am facing the same issue for my project. Is this ever going to get merged?

PuskyWasTaken avatar May 22 '23 11:05 PuskyWasTaken

Will this change (or something equivalent) ever be merged @wing328? 🥺

adamperea avatar Apr 08 '24 12:04 adamperea

@wing328 plan about merging?

gianlucagallo avatar Jul 24 '24 09:07 gianlucagallo

Facing the same issue for my project, will this ever be merged?

dfjmax avatar May 06 '25 13:05 dfjmax

I need this one merged. Maybe someone can adopt the task? @Zomzog, do you have any insight on the situation?

ldeluigi avatar Jun 22 '26 16:06 ldeluigi