Polish text.
* Replace "mediatype" with "media type". * Remove usage of "produces" clauses in Spring MVC route definitions, since XML support was removed from Spring HATEOAS.
This commit is contained in:
@@ -82,7 +82,7 @@ Start by adding a *root node* for clients to start from. The idea is to find rel
|
||||
|
||||
[source,java]
|
||||
----
|
||||
@GetMapping(value = "/", produces = MediaTypes.HAL_JSON_VALUE)
|
||||
@GetMapping("/")
|
||||
public ResourceSupport root() {
|
||||
|
||||
ResourceSupport rootResource = new ResourceSupport();
|
||||
|
||||
Reference in New Issue
Block a user