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:
Greg Turnquist
2019-02-04 11:34:54 -06:00
parent b42758025d
commit dd57e0a515
13 changed files with 47 additions and 95 deletions

View File

@@ -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();