forked from loafle/openapi-generator-original
fix description in allOf with single item (#17560)
This commit is contained in:
parent
f36659114b
commit
210044eb8a
@ -4201,6 +4201,9 @@ public class DefaultCodegen implements CodegenConfig {
|
|||||||
if (original.getDeprecated() != null) {
|
if (original.getDeprecated() != null) {
|
||||||
property.deprecated = p.getDeprecated();
|
property.deprecated = p.getDeprecated();
|
||||||
}
|
}
|
||||||
|
if (original.getDescription() != null) {
|
||||||
|
property.description = p.getDescription();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// set the default value
|
// set the default value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user