{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/autorest/issues/492","labels_url":"https://api.github.com/repos/Azure/autorest/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/492/comments","events_url":"https://api.github.com/repos/Azure/autorest/issues/492/events","html_url":"https://github.com/Azure/autorest/issues/492","id":116863060,"number":492,"title":"C# method generated for HTTP HEAD operation should return bool, not bool?","user":{"login":"brjohnstmsft","id":5523701,"avatar_url":"https://avatars.githubusercontent.com/u/5523701?v=3","gravatar_id":"","url":"https://api.github.com/users/brjohnstmsft","html_url":"https://github.com/brjohnstmsft","followers_url":"https://api.github.com/users/brjohnstmsft/followers","following_url":"https://api.github.com/users/brjohnstmsft/following{/other_user}","gists_url":"https://api.github.com/users/brjohnstmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/brjohnstmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjohnstmsft/subscriptions","organizations_url":"https://api.github.com/users/brjohnstmsft/orgs","repos_url":"https://api.github.com/users/brjohnstmsft/repos","events_url":"https://api.github.com/users/brjohnstmsft/events{/privacy}","received_events_url":"https://api.github.com/users/brjohnstmsft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T22:08:16Z","updated_at":"2015-11-14T01:07:09Z","closed_at":null,"body":"Returning bool? is inconvenient for the caller. HEAD will always tell you precisely whether a resource exists or not, so there is no reason for the return type of the method to be nullable."},"comment":{"url":"https://api.github.com/repos/Azure/autorest/issues/comments/156602591","html_url":"https://github.com/Azure/autorest/issues/492#issuecomment-156602591","issue_url":"https://api.github.com/repos/Azure/autorest/issues/492","id":156602591,"user":{"login":"stankovski","id":857688,"avatar_url":"https://avatars.githubusercontent.com/u/857688?v=3","gravatar_id":"","url":"https://api.github.com/users/stankovski","html_url":"https://github.com/stankovski","followers_url":"https://api.github.com/users/stankovski/followers","following_url":"https://api.github.com/users/stankovski/following{/other_user}","gists_url":"https://api.github.com/users/stankovski/gists{/gist_id}","starred_url":"https://api.github.com/users/stankovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stankovski/subscriptions","organizations_url":"https://api.github.com/users/stankovski/orgs","repos_url":"https://api.github.com/users/stankovski/repos","events_url":"https://api.github.com/users/stankovski/events{/privacy}","received_events_url":"https://api.github.com/users/stankovski/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T01:07:09Z","updated_at":"2015-11-14T01:07:09Z","body":"Relates to #375 "}}