I noticed that when the return-object of a controller-method is parameterized the principal class is ignored , also if it is annotated with @ApiObject.
If you take the subsequent example, the FooWrapper<T> class won't be documented by JSONDoc.
Is this how it is supposed to work? If yes, how can I let the FooWrapper will be documented too?
Here the example:
In the subsequent example the BarPojo will be documented in the Objects > BARGROUP section of jsondoc-ui, while the FooWrapper won't appear in the documentation.
Hi Fabio,
first of all thanks for this really cool library!
I noticed that when the return-object of a controller-method is parameterized the principal class is ignored , also if it is annotated with @ApiObject.
If you take the subsequent example, the
FooWrapper<T>
class won't be documented by JSONDoc.Is this how it is supposed to work? If yes, how can I let the
FooWrapper
will be documented too?Here the example:
In the subsequent example the
BarPojo
will be documented in theObjects > BARGROUP
section of jsondoc-ui, while theFooWrapper
won't appear in the documentation.The Controller:
The return-object, notice that it wraps the real object:
The return-object, the wrapped one:
The text was updated successfully, but these errors were encountered: