This commit is contained in:
Johnny Lim
2016-05-21 12:34:23 +09:00
committed by Andy Wilkinson
parent 3c80176e66
commit 09c9cac857
4 changed files with 9 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ public class Payload {
this.mockMvc.perform(get("/books/1").accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andDo(document("book", responseFields(book))); // <1>
// end::single-book[]
// end::single-book[]
// tag::book-array[]
this.mockMvc.perform(get("/books").accept(MediaType.APPLICATION_JSON))