{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-js/issues/630","labels_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/630/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/630/events","html_url":"https://github.com/swagger-api/swagger-js/pull/630","id":116766945,"number":630,"title":"Fix for #629 content type for get with body","user":{"login":"mgttlinger","id":5120487,"avatar_url":"https://avatars.githubusercontent.com/u/5120487?v=3","gravatar_id":"","url":"https://api.github.com/users/mgttlinger","html_url":"https://github.com/mgttlinger","followers_url":"https://api.github.com/users/mgttlinger/followers","following_url":"https://api.github.com/users/mgttlinger/following{/other_user}","gists_url":"https://api.github.com/users/mgttlinger/gists{/gist_id}","starred_url":"https://api.github.com/users/mgttlinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgttlinger/subscriptions","organizations_url":"https://api.github.com/users/mgttlinger/orgs","repos_url":"https://api.github.com/users/mgttlinger/repos","events_url":"https://api.github.com/users/mgttlinger/events{/privacy}","received_events_url":"https://api.github.com/users/mgttlinger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-13T13:17:51Z","updated_at":"2015-11-16T06:52:52Z","closed_at":"2015-11-16T06:43:32Z","pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-js/pulls/630","html_url":"https://github.com/swagger-api/swagger-js/pull/630","diff_url":"https://github.com/swagger-api/swagger-js/pull/630.diff","patch_url":"https://github.com/swagger-api/swagger-js/pull/630.patch"},"body":"This should fix issue #629 "},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-js/issues/comments/156940364","html_url":"https://github.com/swagger-api/swagger-js/pull/630#issuecomment-156940364","issue_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/630","id":156940364,"user":{"login":"mgttlinger","id":5120487,"avatar_url":"https://avatars.githubusercontent.com/u/5120487?v=3","gravatar_id":"","url":"https://api.github.com/users/mgttlinger","html_url":"https://github.com/mgttlinger","followers_url":"https://api.github.com/users/mgttlinger/followers","following_url":"https://api.github.com/users/mgttlinger/following{/other_user}","gists_url":"https://api.github.com/users/mgttlinger/gists{/gist_id}","starred_url":"https://api.github.com/users/mgttlinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgttlinger/subscriptions","organizations_url":"https://api.github.com/users/mgttlinger/orgs","repos_url":"https://api.github.com/users/mgttlinger/repos","events_url":"https://api.github.com/users/mgttlinger/events{/privacy}","received_events_url":"https://api.github.com/users/mgttlinger/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T06:52:52Z","updated_at":"2015-11-16T06:52:52Z","body":"@fehguy Would it generally be better to check if there is a body in the request and then use the selected content type regardless of the http method in use, instead of whitelisting every method individually (which has so far introduces 2 bugs)?"}}