From 5f0b63a4dea9a658584730d80f42176be2699b1e Mon Sep 17 00:00:00 2001 From: gracekarina Date: Sun, 29 Aug 2021 07:16:30 -0500 Subject: [PATCH] add xml to prperty --- .../java/io/swagger/models/utils/PropertyModelConverter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/swagger-models/src/main/java/io/swagger/models/utils/PropertyModelConverter.java b/modules/swagger-models/src/main/java/io/swagger/models/utils/PropertyModelConverter.java index d4729eb42a..25e2e27533 100644 --- a/modules/swagger-models/src/main/java/io/swagger/models/utils/PropertyModelConverter.java +++ b/modules/swagger-models/src/main/java/io/swagger/models/utils/PropertyModelConverter.java @@ -88,6 +88,7 @@ public Property modelToProperty(Model model){ property.setDescription(m.getDescription()); property.setTitle(m.getTitle()); property.setUniqueItems(m.getUniqueItems()); + property.setXml(m.getXml()); return property; } else if(model instanceof RefModel) {