-
-
Notifications
You must be signed in to change notification settings - Fork 528
Spring Data Rest: No model for Paged Collection #1083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
bug
Something isn't working
Comments
This was referenced Mar 16, 2021
Closed
Closed
Closed
This was referenced Mar 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I extend JpaRepository or PagingAndSortingRepository, the collection model returned in a
GET
to the endpoint contains pagination data in addition to the collection of entity models. Instead a CollectionModelEntityModel* is referenced as the schema which does not include the pagination data.To Reproduce
Spring Boot: 2.4.3
Springdoc: 1.5.5
Expected behavior
A
PagedCollectionModelEntityModelPet
should be generated that matches the following schemaThe text was updated successfully, but these errors were encountered: