spring-hateoas
spring-hateoas copied to clipboard
Spring HATEOAS - Library to support implementing representations for hyper-text driven REST web services.
We have a legacy app which we are updating to spring boot 3. We used to use spring-hateos 0.24 RELEASE and below code to register MappingJackson2HttpMessageConverter. ``` public static class...
Trying to add spring-hateoas in a Spring-Mvc / Kotlin / router functions DSL context. Constructing link with : ``` kotlin fun Survey.toDto(): SurveyDto { return SurveyDto( id = id, description...
If an endpoint uses Matrix Variables and you try to create a link to this method, the passed matrix variables aren't inserted into the link. The issue popped up in...
In order to get a complex query with many possible keys, one can use a MultiValueMap as RequestParam rather than predefined param names. ``` @RequestMapping(value = { "/contracts/query" }, method...
I have a spring hateoas API which is being called from non-spring environments where memory usage and even artifact size are of a concern to me. To reduce code duplication...
I have the repository REST base path set to `/rest`, and a `@RepositoryRestController` with some custom handlers: ``` java @RepositoryRestController public class RestController { @RequestMapping(value = "/foo", method = RequestMethod.GET)...
I think the implementation of the `HalEmbeddedBuilder` is outdated/wrong in selecting a plural collection link-rel when embedding multiple resources. In my understanding of the spec, linking to items in a...
There is no support for `.andAfford(...)` It should be imho `.andAffordance(afford(...))` probably a convenience method `andAfford(...)` like stated would be nice Will try to provide a PR for the doc...
I am trying to use spring hateoas in a reactive application. The documentation is still a todo tag, so I explored the code myself and I'm having a hard time...
This has been requested before: http://stackoverflow.com/questions/30286795/how-to-force-spring-hateoas-resources-to-render-an-empty-embedded-array#comment69331410_30297552 For example, if the array is not rendered, REST clients will break. Handling this edge case by default will require additional coding in all...