Patch https://git.opendaylight.org/gerrit/#/c/43500/ changed
the way constraints are handled in yangtools which causes
the faiure of EdgeTest in ApiDocGeneratorTest.
Change-Id: I455d924b69aee0a6cd6304be27656d44a62e6c73
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
// testing bugs.opendaylight.org bug 1290. UnionType model type.
final String jsonString = doc.getModels().toString();
assertTrue(jsonString.contains(
- "testUnion\":{\"minItems\":0,\"maxItems\":2147483647,\"type\":\"integer or string\",\"required\":false}"));
+ "testUnion\":{\"type\":\"integer or string\",\"required\":false}"));
}
}
}