Closed jparish9 closed 11 years ago
Hi jparish9,
Unfortunately, this issue has come up a few times. The problem here is do to type erasure in Java generics. From Java generics entry in Wikipedia:
"Generics are checked at compile-time for type-correctness. The generic type information is then removed in a process called type erasure. For example, List
I have a method in my api that returns a List. In the generated JSON I see this:
Since the generated responseClass is a simple List, using swagger-ui it shows as:
It would be great if the inner type was preserved.