{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/102","labels_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/102/comments","events_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/102/events","html_url":"https://github.com/spring-projects/spring-restdocs/issues/102","id":100476216,"number":102,"title":"Support using REST Assured to generate documentation snippets","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/milestones/4","html_url":"https://github.com/spring-projects/spring-restdocs/milestones/1.1.0.M1","labels_url":"https://api.github.com/repos/spring-projects/spring-restdocs/milestones/4/labels","id":1294992,"number":4,"title":"1.1.0.M1","description":"Improved extensibility.\r\nImproved support for Slate.\r\nREST Assured support.","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":5,"closed_issues":0,"state":"open","created_at":"2015-09-08T09:27:36Z","updated_at":"2015-12-10T13:30:21Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-08-12T06:26:25Z","updated_at":"2016-01-19T12:40:17Z","closed_at":null,"body":"Hi,\r\n\r\nI find spring-restdocs very interesting and it's definitely something that I can see myself using when writing REST API documentation if I'm using Spring as backend. I'm developing a library called <a href=\"https://github.com/jayway/rest-assured\">REST Assured</a> that is similar to Spring MockMvc in the sense that you test your REST/HTTP API but REST Assured is for \"end-to-end\" testing and is thus issuing real HTTP requests (there's also a module for spring mockmvc though). I would really like to have a module for REST Assured that allows you to document the API in a similar fashion as spring-restdocs. I haven't look into the code in great detail but it seems to me that spring-restdocs is highly coupled to spring-test. This is understandable but I wonder if it would make sense to extract a \"spring-restdocs-core\" that is not coupled to spring-test? This way other libraries such as REST Assured could benefit from spring-restdocs as well. It also means that the scope of spring-restdocs is extended to include other types of tests such as end-to-end tests and thus the REST API documentation could be more \"complete\" (for example if you have both REST Assured tests and Spring MockMvc test for the same API).\r\n\r\nWhat are your thoughts on this?\r\n\r\nRegards,\r\n/Johan"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/comments/172840183","html_url":"https://github.com/spring-projects/spring-restdocs/issues/102#issuecomment-172840183","issue_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/102","id":172840183,"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-01-19T12:40:17Z","updated_at":"2016-01-19T12:40:17Z","body":"@johanhaleby Thanks for the ultra-fast reply. Sorry, I should have tried 2.8.0. Good news – it works there. Sorry for the noise.\r\n\r\nI'd been hoping to keep the required version as low as possible (I was aiming for the first version that contained the API changes that you made following the discussion in #157), but requiring 2.8.0 is by no means a big deal so I'll go with that. Thanks again for helping out so quickly."}}