spring-hateoas
spring-hateoas copied to clipboard
Spring HATEOAS - Library to support implementing representations for hyper-text driven REST web services.
As of Spring Boot 3.2.0 RestClient has been added via Spring Framework to replace WebClient. Is there a replacement for hypermediaWebClientCustomizer?
Hi Team, We have a spring boot application which uses RestTemplate and it works fine. Now we have added another library called 'activiti' which also provided spring boot starter configuration...
Vanilla resource `User` - ``` public class User implements Serializable { private static final long serialVersionUID = 262950482349139355L; @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @Column(name = "FIRST_NAME", nullable =...
Since version **1.4**, path variables are resolved as empty strings instead of template variables in `target` field: The link creation: ``` linkTo(methodOn(SelectColorResource.class) .selectColor(null, null)) .withRel("select-color"); ``` The SelectColorController ``` @PostMapping("/select-color)...
Please see https://stackoverflow.com/q/60680748/330457. I'm trying to make my controllers prefixed with, say, `/api/v1`. And it seems `WebMvcLinkBuilder#linkTo(Class)` method is not aware of `PathMatchConfigurer#addPathPrefix(String, Predicate
The [Stateless.co HAL documentation](http://stateless.co/hal_specification.html) and [IETF draft spec](https://tools.ietf.org/html/draft-kelly-json-hal) both use relative URLs (with absolute paths) in all their examples, e.g. ``` { "_links": { "self": { "href": "/orders/523" } }...
Hello there, I'd like to document my API project and I am using `org.springdoc:springdoc-openapi-starter-common` and `org.springdoc:springdoc-openapi-starter-webmvc-ui` for doing so. All the schemas in the generated OpenAPI 3.0.1 documentation, includes the...
Hi, Some time ago I had created this little thingy for handling the VndErrors in Feign calls over SpringCloud: https://github.com/jmnarloch/feign-vnderror-spring-cloud-starter. I though that I would be better if there would...
Fixes #1717 # Behaviour before this change Let be: ```java class MyController { @GetMapping public ResponseEntity list() { Link selfLink = selfLink.andAffordance(afford(methodOn(MyController.class).create(null))); return ResponseEntity.ok(new RepresentationModel(selfLink)); } @PostMapping public ResponseEntity create(@RequestBody...
The second parameter of the `DefaultCurieProvider` constructor is a `org.springframework.hateoas.UriTemplate`. But it has no constructor, it has an `of()` static factory method.