{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-maru/maru_swagger/issues/22","repository_url":"https://api.github.com/repos/elixir-maru/maru_swagger","labels_url":"https://api.github.com/repos/elixir-maru/maru_swagger/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/elixir-maru/maru_swagger/issues/22/comments","events_url":"https://api.github.com/repos/elixir-maru/maru_swagger/issues/22/events","html_url":"https://github.com/elixir-maru/maru_swagger/pull/22","id":304161346,"number":22,"title":"Add Swagger UI","user":{"login":"efcasado","id":603610,"avatar_url":"https://avatars0.githubusercontent.com/u/603610?v=4","gravatar_id":"","url":"https://api.github.com/users/efcasado","html_url":"https://github.com/efcasado","followers_url":"https://api.github.com/users/efcasado/followers","following_url":"https://api.github.com/users/efcasado/following{/other_user}","gists_url":"https://api.github.com/users/efcasado/gists{/gist_id}","starred_url":"https://api.github.com/users/efcasado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efcasado/subscriptions","organizations_url":"https://api.github.com/users/efcasado/orgs","repos_url":"https://api.github.com/users/efcasado/repos","events_url":"https://api.github.com/users/efcasado/events{/privacy}","received_events_url":"https://api.github.com/users/efcasado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-11T14:08:59Z","updated_at":"2018-03-12T06:50:59Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/elixir-maru/maru_swagger/pulls/22","html_url":"https://github.com/elixir-maru/maru_swagger/pull/22","diff_url":"https://github.com/elixir-maru/maru_swagger/pull/22.diff","patch_url":"https://github.com/elixir-maru/maru_swagger/pull/22.patch"},"body":"This pull-request is all about seamlessly adding support for Swagger UI.\r\n\r\nWith this changes, all maru projects using this plug will not only be able to get the Swagger specification of their APIs, but they will also be able to tinker with it using Swagger UI.\r\n\r\nThis pull-request includes some breaking changes. For instance, the `at` option in the swagger macro does not longer refer to the endpoint where the Swagger specification can be found. Instead, it now points to the endpoint where the Swagger UI can be loaded. The swagger specification can be fetched by appending `/swagger.json` to the path provided in `at`.\r\n\r\nYou can find a toy application using these changes in https://github.com/efcasado/hola_maru"},"comment":{"url":"https://api.github.com/repos/elixir-maru/maru_swagger/issues/comments/372209002","html_url":"https://github.com/elixir-maru/maru_swagger/pull/22#issuecomment-372209002","issue_url":"https://api.github.com/repos/elixir-maru/maru_swagger/issues/22","id":372209002,"user":{"login":"efcasado","id":603610,"avatar_url":"https://avatars0.githubusercontent.com/u/603610?v=4","gravatar_id":"","url":"https://api.github.com/users/efcasado","html_url":"https://github.com/efcasado","followers_url":"https://api.github.com/users/efcasado/followers","following_url":"https://api.github.com/users/efcasado/following{/other_user}","gists_url":"https://api.github.com/users/efcasado/gists{/gist_id}","starred_url":"https://api.github.com/users/efcasado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efcasado/subscriptions","organizations_url":"https://api.github.com/users/efcasado/orgs","repos_url":"https://api.github.com/users/efcasado/repos","events_url":"https://api.github.com/users/efcasado/events{/privacy}","received_events_url":"https://api.github.com/users/efcasado/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T06:50:59Z","updated_at":"2018-03-12T06:50:59Z","author_association":"NONE","body":"Hi @falood\r\n\r\nI first considered creating a separate repo for this but after reviewing the code I thought it would be quite elegant to include the functionality in this repo. What would be your main concern in doing this? the size of the dependency (e.g. priv folder)? the breaking changes to the API?\r\n\r\nHow do you suggest to move forward? Should I just create a maru_swagger_ui_repo and push my changes there?"}}
{"actor":{"display_login":"efcasado"}}