{"action":"created","issue":{"url":"https://api.github.com/repos/Clever/wag/issues/17","repository_url":"https://api.github.com/repos/Clever/wag","labels_url":"https://api.github.com/repos/Clever/wag/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Clever/wag/issues/17/comments","events_url":"https://api.github.com/repos/Clever/wag/issues/17/events","html_url":"https://github.com/Clever/wag/pull/17","id":171795350,"number":17,"title":"Support for default values","user":{"login":"kvigen","id":5514539,"avatar_url":"https://avatars.githubusercontent.com/u/5514539?v=3","gravatar_id":"","url":"https://api.github.com/users/kvigen","html_url":"https://github.com/kvigen","followers_url":"https://api.github.com/users/kvigen/followers","following_url":"https://api.github.com/users/kvigen/following{/other_user}","gists_url":"https://api.github.com/users/kvigen/gists{/gist_id}","starred_url":"https://api.github.com/users/kvigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvigen/subscriptions","organizations_url":"https://api.github.com/users/kvigen/orgs","repos_url":"https://api.github.com/users/kvigen/repos","events_url":"https://api.github.com/users/kvigen/events{/privacy}","received_events_url":"https://api.github.com/users/kvigen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rgarcia","id":72655,"avatar_url":"https://avatars.githubusercontent.com/u/72655?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarcia","html_url":"https://github.com/rgarcia","followers_url":"https://api.github.com/users/rgarcia/followers","following_url":"https://api.github.com/users/rgarcia/following{/other_user}","gists_url":"https://api.github.com/users/rgarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarcia/subscriptions","organizations_url":"https://api.github.com/users/rgarcia/orgs","repos_url":"https://api.github.com/users/rgarcia/repos","events_url":"https://api.github.com/users/rgarcia/events{/privacy}","received_events_url":"https://api.github.com/users/rgarcia/received_events","type":"User","site_admin":false},"assignees":[{"login":"rgarcia","id":72655,"avatar_url":"https://avatars.githubusercontent.com/u/72655?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarcia","html_url":"https://github.com/rgarcia","followers_url":"https://api.github.com/users/rgarcia/followers","following_url":"https://api.github.com/users/rgarcia/following{/other_user}","gists_url":"https://api.github.com/users/rgarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarcia/subscriptions","organizations_url":"https://api.github.com/users/rgarcia/orgs","repos_url":"https://api.github.com/users/rgarcia/repos","events_url":"https://api.github.com/users/rgarcia/events{/privacy}","received_events_url":"https://api.github.com/users/rgarcia/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-18T01:06:55Z","updated_at":"2016-08-18T23:31:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Clever/wag/pulls/17","html_url":"https://github.com/Clever/wag/pull/17","diff_url":"https://github.com/Clever/wag/pull/17.diff","patch_url":"https://github.com/Clever/wag/pull/17.patch"},"body":"This change adds support for default values from the swagger schema. It converts the default value to a string and sets it as the value if it isn't specified.\r\n\r\nIn go-swagger adding a default to a input parameter doesn't make it a non-pointer. My intuition is that it should because the client should never see a nil value, but I held off on implemented that until I got buy-in.\r\n"},"comment":{"url":"https://api.github.com/repos/Clever/wag/issues/comments/240887691","html_url":"https://github.com/Clever/wag/pull/17#issuecomment-240887691","issue_url":"https://api.github.com/repos/Clever/wag/issues/17","id":240887691,"user":{"login":"rgarcia","id":72655,"avatar_url":"https://avatars.githubusercontent.com/u/72655?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarcia","html_url":"https://github.com/rgarcia","followers_url":"https://api.github.com/users/rgarcia/followers","following_url":"https://api.github.com/users/rgarcia/following{/other_user}","gists_url":"https://api.github.com/users/rgarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarcia/subscriptions","organizations_url":"https://api.github.com/users/rgarcia/orgs","repos_url":"https://api.github.com/users/rgarcia/repos","events_url":"https://api.github.com/users/rgarcia/events{/privacy}","received_events_url":"https://api.github.com/users/rgarcia/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T23:31:13Z","updated_at":"2016-08-18T23:31:13Z","body":"lgtm"}}
{"actor":{"display_login":"rgarcia"}}