Forum Discussion

ktalebian's avatar
ktalebian
Occasional Visitor
5 years ago

How to define response type of a templated object

Let's say I have a `Pagination<T>` type to be used for my list endpoints. Now let's say I have `/Users` and this should return `Pagination<User>`. How do I define the response? Doing this is only par...