{"action":"closed","issue":{"url":"https://api.github.com/repos/sarnowski/swagger1st/issues/8","labels_url":"https://api.github.com/repos/sarnowski/swagger1st/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sarnowski/swagger1st/issues/8/comments","events_url":"https://api.github.com/repos/sarnowski/swagger1st/issues/8/events","html_url":"https://github.com/sarnowski/swagger1st/issues/8","id":60895189,"number":8,"title":"Integration of swagger ui, definition and discovery endpoint","user":{"login":"sarnowski","id":294104,"avatar_url":"https://avatars.githubusercontent.com/u/294104?v=3","gravatar_id":"","url":"https://api.github.com/users/sarnowski","html_url":"https://github.com/sarnowski","followers_url":"https://api.github.com/users/sarnowski/followers","following_url":"https://api.github.com/users/sarnowski/following{/other_user}","gists_url":"https://api.github.com/users/sarnowski/gists{/gist_id}","starred_url":"https://api.github.com/users/sarnowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarnowski/subscriptions","organizations_url":"https://api.github.com/users/sarnowski/orgs","repos_url":"https://api.github.com/users/sarnowski/repos","events_url":"https://api.github.com/users/sarnowski/events{/privacy}","received_events_url":"https://api.github.com/users/sarnowski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sarnowski/swagger1st/labels/TODO","name":"TODO","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sarnowski/swagger1st/milestones/1","html_url":"https://github.com/sarnowski/swagger1st/milestones/1.0.0","labels_url":"https://api.github.com/repos/sarnowski/swagger1st/milestones/1/labels","id":1019365,"number":1,"title":"1.0.0","description":"All functionality specified by the swagger 2.0 spec implemented.","creator":{"login":"sarnowski","id":294104,"avatar_url":"https://avatars.githubusercontent.com/u/294104?v=3","gravatar_id":"","url":"https://api.github.com/users/sarnowski","html_url":"https://github.com/sarnowski","followers_url":"https://api.github.com/users/sarnowski/followers","following_url":"https://api.github.com/users/sarnowski/following{/other_user}","gists_url":"https://api.github.com/users/sarnowski/gists{/gist_id}","starred_url":"https://api.github.com/users/sarnowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarnowski/subscriptions","organizations_url":"https://api.github.com/users/sarnowski/orgs","repos_url":"https://api.github.com/users/sarnowski/repos","events_url":"https://api.github.com/users/sarnowski/events{/privacy}","received_events_url":"https://api.github.com/users/sarnowski/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-03-12T20:37:40Z","updated_at":"2015-03-14T21:27:44Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-12T20:31:20Z","updated_at":"2015-03-14T21:27:44Z","closed_at":"2015-03-14T21:27:44Z","body":"```clojure\r\n(swagger-endpoints :discovery \"/.discovery\" :definition \"/.definition\" :ui \"/ui\")\r\n```\r\n\r\n* :definition exposes the swagger definition as JSON\r\n* :ui provides the swagger UI\r\n* :discovery exposes a simple json document, that shows the location of the definition and ui endpoints\r\n\r\ndiscovery document:\r\n```json\r\n{\r\n    \"definition\": \"/.definition\",\r\n    \"ui\": \"/ui\"\r\n}\r\n```"}}