{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/339","repository_url":"https://api.github.com/repos/spring-projects/spring-restdocs","labels_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/339/comments","events_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/339/events","html_url":"https://github.com/spring-projects/spring-restdocs/issues/339","id":199028780,"number":339,"title":"Tests for the Slate samples are failing. ","user":{"login":"obviam","id":369844,"avatar_url":"https://avatars.githubusercontent.com/u/369844?v=3","gravatar_id":"","url":"https://api.github.com/users/obviam","html_url":"https://github.com/obviam","followers_url":"https://api.github.com/users/obviam/followers","following_url":"https://api.github.com/users/obviam/following{/other_user}","gists_url":"https://api.github.com/users/obviam/gists{/gist_id}","starred_url":"https://api.github.com/users/obviam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obviam/subscriptions","organizations_url":"https://api.github.com/users/obviam/orgs","repos_url":"https://api.github.com/users/obviam/repos","events_url":"https://api.github.com/users/obviam/events{/privacy}","received_events_url":"https://api.github.com/users/obviam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-05T18:43:54Z","updated_at":"2017-01-05T18:43:54Z","closed_at":null,"body":"`ApiDocumentation.indexExample()` for example is failing with\r\n`org.springframework.restdocs.snippet.SnippetException: The following parts of the payload were not documented:\r\n{\r\n  \"_links\" : {\r\n    \"tags\" : {\r\n      \"href\" : \"http://localhost:8080/tags\"\r\n    },\r\n    \"notes\" : {\r\n      \"href\" : \"http://localhost:8080/notes\"\r\n    },\r\n    \"profile\" : {\r\n      \"href\" : \"http://localhost:8080/profile\"\r\n    }\r\n  }\r\n}`\r\n\r\nIt happens when validating the responseFields\r\n`responseFields(fieldWithPath(\"_links\").description(\"Links to other resources\"))`\r\n\r\nUsing `subsectionWithPath` instead of `fieldWithPath` fixes the test.\r\n\r\nAffected tests:\r\n`indexExample()`\r\n`notesListExample()`\r\n`noteGetExample()`\r\n`tagsListExample()`\r\n`tagGetExample()'\r\n\r\nin the `ApiDocumentation.java` **rest-notes-slate** project."}}
{"actor":{"display_login":"obviam"}}