use of org.eclipse.microprofile.openapi.models.media.Schema in project wildfly-swarm by wildfly-swarm.
the class SpecialCaseTests method testCollection_WildcardWithExtendBound.
@Test
public void testCollection_WildcardWithExtendBound() throws IOException, JSONException {
String name = SpecialCaseTestContainer.class.getName();
Type pType = getFieldFromKlazz(name, "listExtendsFoo").type();
OpenApiDataObjectScanner scanner = new OpenApiDataObjectScanner(index, pType);
Schema result = scanner.process();
printToConsole(name, result);
assertJsonEquals(name, "special.wildcardWithExtendBound.expected.json", result);
}
Aggregations