Removed the hardcoded xml trait in lieu of new model builder plugin
(1907)
@@ -109,20 +109,10 @@ public class DefaultModelProvider implements ModelProvider {
.description("")
.baseModel("")
.discriminator("")
- .subTypes(new ArrayList<String>())
- .xml(buildXml());
+ .subTypes(new ArrayList<String>());
return schemaPluginsManager.model(modelContext);
}
- private Xml buildXml() {
- return new Xml()
- .name("")
- .attribute(false)
- .namespace("")
- .prefix("")
- .wrapped(false);
- }
-
@Override
public Map<String, Model> dependencies(ModelContext modelContext) {
Map<String, Model> models = newHashMap();
