{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/324","repository_url":"https://api.github.com/repos/spring-projects/spring-restdocs","labels_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/324/comments","events_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/324/events","html_url":"https://github.com/spring-projects/spring-restdocs/issues/324","id":185617733,"number":324,"title":"Typo in 'Reusing field descriptors' section for RestAssured","user":{"login":"wimdeblauwe","id":1115823,"avatar_url":"https://avatars.githubusercontent.com/u/1115823?v=3","gravatar_id":"","url":"https://api.github.com/users/wimdeblauwe","html_url":"https://github.com/wimdeblauwe","followers_url":"https://api.github.com/users/wimdeblauwe/followers","following_url":"https://api.github.com/users/wimdeblauwe/following{/other_user}","gists_url":"https://api.github.com/users/wimdeblauwe/gists{/gist_id}","starred_url":"https://api.github.com/users/wimdeblauwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimdeblauwe/subscriptions","organizations_url":"https://api.github.com/users/wimdeblauwe/orgs","repos_url":"https://api.github.com/users/wimdeblauwe/repos","events_url":"https://api.github.com/users/wimdeblauwe/events{/privacy}","received_events_url":"https://api.github.com/users/wimdeblauwe/received_events","type":"User","site_admin":false},"labels":[{"id":188910532,"url":"https://api.github.com/repos/spring-projects/spring-restdocs/labels/documentation","name":"documentation","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/milestones/13","html_url":"https://github.com/spring-projects/spring-restdocs/milestones/1.1.3.RELEASE","labels_url":"https://api.github.com/repos/spring-projects/spring-restdocs/milestones/13/labels","id":1974611,"number":13,"title":"1.1.3.RELEASE","description":"","creator":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2016-08-31T09:28:11Z","updated_at":"2016-10-28T15:20:58Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-27T09:30:27Z","updated_at":"2016-10-28T15:21:18Z","closed_at":"2016-10-28T15:20:58Z","body":"See http://docs.spring.io/spring-restdocs/docs/current/reference/html5/#documenting-your-api-request-response-payloads-reusing-field-descriptors. \r\n\r\nThe RestAssured example for an array of books is:\r\n\r\n```\r\nRestAssured.given(this.spec).accept(\"application/json\")\r\n\t.filter(document(\"books\", responseFields(\r\n\t\tfieldWithPath(\"[]\").description(\"An array of books\")) \r\n\t\t.andWithPrefix(\"[].\", book))) \r\n\t.when().get(\"/books/1\")\r\n\t.then().assertThat().statusCode(is(200));\r\n```\r\n\r\nThe get should be `/books/` and not `/books/1`"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/comments/256949615","html_url":"https://github.com/spring-projects/spring-restdocs/issues/324#issuecomment-256949615","issue_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/324","id":256949615,"user":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T15:21:18Z","updated_at":"2016-10-28T15:21:18Z","body":"Thanks for spotting this and taking the time to report it."}}
{"actor":{"display_login":"wilkinsona"}}