Exposing link on collection entity in spring data REST

前端 未结 2 1325
执念已碎
执念已碎 2020-12-15 12:40

Using spring data REST I have exposed a ProjectRepository that supports listing projects and performing CRUD operations on them. When I go to http://local

2条回答
  •  眼角桃花
    2020-12-15 13:05

    The collection resources render an instance of Resources>, not Resource>. So if you change the generic typing in your ResourceProcessor implementation accordingly that should work as you expect it.

提交回复
热议问题