Produce IANA registered flavor of HAL media type by default.

Fixes GH-2454.
This commit is contained in:
Oliver Drotbohm
2025-01-17 17:32:39 +01:00
committed by Mark Paluch
parent c0095a2a93
commit ca5f6a73e7
3 changed files with 3 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ class HalExplorerIntegrationTests {
mvc.perform(get(BASE_PATH).accept(MediaType.ALL)).//
andExpect(status().isOk()).//
andExpect(header().string(HttpHeaders.CONTENT_TYPE, startsWith(MediaTypes.HAL_JSON.toString())));
andExpect(header().string(HttpHeaders.CONTENT_TYPE, startsWith(MediaTypes.VND_HAL_JSON.toString())));
}
@Test // DATAREST-293