The following code produces a MappingException while is should expect that the schema-generator can deduct the type of the Parameter T.
class A extends B<Integer> {
}
class B<T> {
T value;
public T getValue() {
return value;
}
}
class Temp {
public static void main(String[] args) {
JSONObject schema = new SchemaMapper().toJsonSchema4(A.class, true);
System.out.println(schema.toString());
}
}
The following code produces a MappingException while is should expect that the schema-generator can deduct the type of the Parameter T.