mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-03-10 08:31:23 +00:00
fix description in allOf with single item (#17560)
This commit is contained in:
@@ -4201,6 +4201,9 @@ public class DefaultCodegen implements CodegenConfig {
|
||||
if (original.getDeprecated() != null) {
|
||||
property.deprecated = p.getDeprecated();
|
||||
}
|
||||
if (original.getDescription() != null) {
|
||||
property.description = p.getDescription();
|
||||
}
|
||||
}
|
||||
|
||||
// set the default value
|
||||
|
||||
Reference in New Issue
Block a user