-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[Schema] Inline description and vendor extensions under allOf is not recognized #1125
Comments
Could someone take a look? Thanks! |
@chenliu0831 thanks for reporting the issue. I've filed #1360 with better |
@chenliu0831 #1360 has been merged into master. Please give it a try and let us know if you still see issues with |
Agree. I'll try to add more comments to the code so that new users can more easily follow. |
Description
We have an use-case where
description
and vendor extensions are put insideallOf
as inline schema. However those inlined fields went missing from the input to the generator as well as the final generated code. See below:Debug output run with
-DdebugModels
which should be the same to any generators. Notice how top levelx-model-base
is getting picked up in vendorExtensions while the extensions are not.According to the schema object spec, either way seems to be valid. Is this a bug, a feature by design or I misunderstand anything?
Thanks.
openapi-generator version
3.3.2, also happens with master.
The text was updated successfully, but these errors were encountered: