Skip to content

Conversation

@EvaristeGalois11
Copy link
Contributor

@EvaristeGalois11 EvaristeGalois11 commented Jun 15, 2024

Hi, in the last update Spring Data introduced an automatic way of converting Page to PagedModel, more info here and here.

With this PR Springdoc should be able to recognize the configuration @EnableSpringDataWebSupport(pageSerializationMode = EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO) and act accordingly.

I had to bump the version of the spring parent to 3.3.0 because I needed the new class PagedModel. If you prefer to not clutter this PR with this upgrade I will split it off to a separate PR.

Close #2625

Bye!

@bnasslahsen
Copy link
Collaborator

@EvaristeGalois11,

Thank you for your contribution to the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support @EnableSpringDataWebSupport(pageSerializationMode = EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO)

2 participants