Open JustSamuel opened 1 year ago
Instead of having PaginatedBannerResponse we should refactor it to be Paginated<BannerResponse> using TypeScripts Generics. Cleaner, and less clutter.
PaginatedBannerResponse
Paginated<BannerResponse>
This is indeed cleaner and makes pagination much easier to use, but won't we still need to excplicitly define a PaginatedBannerResponse entity for the Swagger spec?
Instead of having
PaginatedBannerResponse
we should refactor it to bePaginated<BannerResponse>
using TypeScripts Generics. Cleaner, and less clutter.