-
-
Notifications
You must be signed in to change notification settings - Fork 500
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
Spring Data Rest: Collection models generated with non-HAL content #1070
Labels
bug
Something isn't working
Comments
This was referenced Mar 8, 2021
This was referenced Mar 16, 2021
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The the api-docs
CollectionModels
are generally rendered as containing non-HAL enities while Spring Data Rest returns entities in HAL format.To Reproduce
Example Entity
Example Repo
Generated api-doc for
GET /clinics
:CollectionModelClinic
has an array ofClinic
(which mentions to_links
property, for example) but Spring Data Rest returns:Expected behavior
I would expect the api-doc to generate a response schema that matches the response returned by Spring Data Rest including the
_links
property.The text was updated successfully, but these errors were encountered: