{"action":"created","issue":{"url":"https://api.github.com/repos/benjamin-heasly/openhds-rest/issues/113","labels_url":"https://api.github.com/repos/benjamin-heasly/openhds-rest/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/benjamin-heasly/openhds-rest/issues/113/comments","events_url":"https://api.github.com/repos/benjamin-heasly/openhds-rest/issues/113/events","html_url":"https://github.com/benjamin-heasly/openhds-rest/pull/113","id":97357034,"number":113,"title":"adding swagger and swagger-ui.","user":{"login":"munk","id":195642,"avatar_url":"https://avatars.githubusercontent.com/u/195642?v=3","gravatar_id":"","url":"https://api.github.com/users/munk","html_url":"https://github.com/munk","followers_url":"https://api.github.com/users/munk/followers","following_url":"https://api.github.com/users/munk/following{/other_user}","gists_url":"https://api.github.com/users/munk/gists{/gist_id}","starred_url":"https://api.github.com/users/munk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munk/subscriptions","organizations_url":"https://api.github.com/users/munk/orgs","repos_url":"https://api.github.com/users/munk/repos","events_url":"https://api.github.com/users/munk/events{/privacy}","received_events_url":"https://api.github.com/users/munk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-26T23:05:14Z","updated_at":"2015-08-31T17:21:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/benjamin-heasly/openhds-rest/pulls/113","html_url":"https://github.com/benjamin-heasly/openhds-rest/pull/113","diff_url":"https://github.com/benjamin-heasly/openhds-rest/pull/113.diff","patch_url":"https://github.com/benjamin-heasly/openhds-rest/pull/113.patch"},"body":"Swagger to allow exploration of the API #112\r\nEverything in resources/api-browser is just from swagger, so it's not very interesting. \r\n\r\nStaticResourceConfiguration.java is supposed to allow access to the docs at /api-browser, but I'm seeing a 404 when I test it. Any thoughts?"},"comment":{"url":"https://api.github.com/repos/benjamin-heasly/openhds-rest/issues/comments/136433925","html_url":"https://github.com/benjamin-heasly/openhds-rest/pull/113#issuecomment-136433925","issue_url":"https://api.github.com/repos/benjamin-heasly/openhds-rest/issues/113","id":136433925,"user":{"login":"benjamin-heasly","id":1950775,"avatar_url":"https://avatars.githubusercontent.com/u/1950775?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-heasly","html_url":"https://github.com/benjamin-heasly","followers_url":"https://api.github.com/users/benjamin-heasly/followers","following_url":"https://api.github.com/users/benjamin-heasly/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-heasly/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-heasly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-heasly/subscriptions","organizations_url":"https://api.github.com/users/benjamin-heasly/orgs","repos_url":"https://api.github.com/users/benjamin-heasly/repos","events_url":"https://api.github.com/users/benjamin-heasly/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-heasly/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T17:21:08Z","updated_at":"2015-08-31T17:21:08Z","body":"Cool.  I think this is working.  Here's what worked for me:\r\n * `git checkout -b munk-add-swagger master`\r\n * `git pull https://github.com/munk/openhds-rest.git add-swagger`\r\n * `gradle clean stage`\r\n * `java -Dfile.encoding=UTF-8 -jar build/libs/openhds-rest-0.0.1-SNAPSHOT.jar --sampleDataSize=2`\r\n\r\nI noticed that it took a log longer for the server to start -- about 300 seconds where it used to take about 30 seconds.  This would interfere with the Heroku deployment, which expects startup in <60 seconds.  Do you think there's a way to speed this up?\r\n\r\nI'm able to see XML and JSON at paths like `http://localhost:8080/api-docs/default/social-group-rest-controller`.\r\n\r\nBut I don't know how to see the nice browser UI.  I get a 404 at `http://localhost:8080/api-browser/index.html`?  Is that the right path?"}}