-
Notifications
You must be signed in to change notification settings - Fork 6k
updated versions for release #3388
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
Conversation
See #3004 for the parser upgrade |
@cbornet that is a huge PR. I can try merging into this branch |
…er-codegen into wing328-java_fix_apiclient
No problem. |
On the other hand, I think that upgrading the parser without merging my PR can lead to surprises as allOf will no longer set the parent and this is an issue when you have a discriminator (see Dog/Cat/Animal). So maybe wait my PR to upgrade the parser. |
OK I will have to adjust the PR then. |
UPDATE: I'm drafting the release note, which is 50% done. |
Maybe just pick 2ce9a11 which sets the interface that has a discriminator as parent. And check that the generated samples don't change (if not included, Cat & Dog will no longer extend Animal). |
If a composed model (allOf) doesn't have any parent and one of its interface has a discriminator field, then set this interface as parent. See #2096 See swagger-api/swagger-parser#246
No description provided.