spring-hateoas icon indicating copy to clipboard operation
spring-hateoas copied to clipboard

Spring HATEOAS - Library to support implementing representations for hyper-text driven REST web services.

Results 116 spring-hateoas issues
Sort by recently updated
recently updated
newest added
trafficstars

partialExpand UriTemplate or Link is so commonly used ,when build Links from RepositoryEntityLinks , which is convenience don't required developer build link from scratch. I have a kotlin's extensions to...

Looking at the [documentation](https://docs.spring.io/spring-hateoas/docs/current/reference/html/#server.processors) I would like to use **RepresentationModelProcessor** to: > Leverage cross cutting services like Spring Security to add, remove, or revise links based upon the current user’s...

spring-hateoas 1.1.2 code like this ```java public enum EnumKey { K1, K2 } @GetMapping("/test") @ResponseBody public ResponseEntity test() { Map map = new HashMap(); map.put(EnumKey.K1,"1"); map.put(EnumKey.K2,"2"); return ok(EntityModel.of(map)); } ```...

In cases where command style objects are used for PUT and POST we use immutable object with a @JsonCreator annotation. I think this is something that should be available in...

type: enhancement
in: mediatypes

Hi, When http requests are made by a servlet that is not Spring MVC servlet the servlet path is missing in URI created with call to WebMvcLinkBuilderFactory#linkTo(java.lang.Object). It's also the...

Currently, if we want a templated URI that we do not manually build ourselves, we can do ` linkTo(methodOn(UserController::class.java).getUser(null)).withRel("user")` This works fine with Java as we can pass null parameters...

kotlin

This is in reference to https://stackoverflow.com/questions/68903785/spring-hateoas-hal-forms-does-not-add-current-get-endpoint-to-the-template-secti and I just ran into the same problem. The spring docu [[1]](https://docs.spring.io/spring-hateoas/docs/current/reference/html/#server.affordances.api), code [[2]](https://github.com/spring-projects/spring-hateoas/blob/3d7458b5f6912c6ccd553cda8345ca6c62826506/src/main/java/org/springframework/hateoas/mediatype/hal/forms/HalFormsTemplateBuilder.java#L66) & spec [[3]](https://rwcbook.github.io/hal-forms/#_code_method_code) don't line up. Not sure if it's...

I typically write tests with `MockMvc` where you can set up expectations using very nice DSL. Test is annotated with ``` @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK) @AutoConfigureMockMvc ``` Then I can autowire...

Now I have a requirement to remotely call an API that returns HAL format data through FeignClient, and its return value includes'_ Embedded ', how can I automatically deserialize the...

When generating a link to a method which is mapped without a leading slash (`@RequestMapping("hello")`), the mapping generated in `AnnotationMappingDiscoverer#getMapping(Class, Method)` does not have a leading slash as well. If...

process: waiting for feedback