Refactor PagedModel<T>
: Remove Page<T>
properties and improve JSON serialization stability
#3264
Labels
status: waiting-for-triage
An issue we've not yet triaged
Currently,
PagedModel<T>
directly holds aPage<T>
instance, which introduces unnecessary complexity during JSON serialization and deserialization.Therefore, it is suggested to remove the
Page<T>
attribute and leave only content and pageMetaDataProposed Solution
Improved Usability in Tests
By applying this change, writing test cases for API responses becomes more convenient, especially when using WebTestClient in a Spring Boot environment.
The text was updated successfully, but these errors were encountered: