Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,13 @@ public Model definition(ObjectNode node, String location, ParseResult result) {

Integer minItems = getInteger("minItems", node, false, location, result);
am.setMinItems(minItems);


// add xml specific information if available
JsonNode xml = node.get("xml");
if(xml != null) {
am.setXml(Json.mapper().convertValue(xml, Xml.class));
}

// extra keys
Set<String> keys = getKeys(node);
for(String key : keys) {
Expand Down