spring-hateoas
spring-hateoas copied to clipboard
Spring HATEOAS - Library to support implementing representations for hyper-text driven REST web services.
In semantic versioning, there should be zero breaking changes without bumping the major version. `org.springframework.hateoas.mediatype.Affordances` Between `1.3.5` and `1.4.x` the return type of `afford(org.springframework.http.HttpMethod)` was changed from: `org.springframework.hateoas.mediatype.Affordances.AffordanceBuilder` to: `org.springframework.hateoas.mediatype.ConfigurableAffordance`...
Hello, I discovered recently that `@EnableWebMvc` is required in order to get `@EnableHypermediaSupport` working. I'm using the spring-boot-dependencies like below: ``` org.springframework.boot spring-boot-dependencies ${spring-boot.version} pom import ``` Should spring-hateoas enable...
[Maven Central](https://search.maven.org/artifact/org.springframework.hateoas/spring-hateoas) lists the following artifacts released on 11-Nov-2021: 1.12.11 1.2.11 1.3.6 1.4.0 The first one ("1.12.11") seems out of the normal range and is close to 1.2.11 so is...
Using spring-hateoas:1.2.1 with Spring Boot 2.4.0: When a REST controller class annotated with `@RequestMapping("${some-variable}/resources")` returns a resource extending `RepresentationModel`, I get the following error : ``` { "label": "uncatched exception",...
Given > Spring boot starter 2.0.1.RELEASE with hateoas, data-jpa ``` @SpringBootApplication @EnableSpringDataWebSupport public class Application { //} ``` ``` @Component public class PersonPublicReleaseAssembler extends ResourceAssemblerSupport { @Override public PersonPublicReleaseResource toResource(PersonPublicRelease...
I updated the spring boot version as 2.7.1 and Hateos as 1.5.1. Jackson-databind as 2.13.3 ` org.springframework.hateoas spring-hateoas 1.5.1 org.springframework.boot spring-boot-starter 2.7.1 com.fasterxml.jackson.core jackson-core 2.13.3 ` After upgrading the version,...
I'm trying to move a project from Java 11 to Java 17 and I'm having issues with code that creates resource URLs. ```java linkTo(methodOn(EntityController.class)).getEntity(id).getHref() ``` The Controller method returns a...
I'm using `WebMvcLinkBuilder` to generate links to controller methods with specific predefined parameters represented by a list of enums. These enums have custom `toString()` implementations to provide required labels for...
# Problem: Server does not add the underscores to the field names and the configuration how to do it correctly is missing for xml based configuration in Jakarta EE environments...
After updating from spring-hateoas 1.2 to 1.4, we see some unexpected behavior in our REST endpoints: requests that used to succeed get `415 Unsupported Media Type` response, or the format...