{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/466","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/466/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/466/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/466","id":59535147,"number":466,"title":"Throw exception if a required schema parameter is not specified","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Component-Google-APIs","name":"Component-Google-APIs","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.14.0","name":"Milestone-Version1.14.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-02T19:37:11Z","updated_at":"2015-03-02T19:37:13Z","closed_at":"2015-03-02T19:37:11Z","body":"```\nExternal references, such as a standards document, or specification?\n\nhttps://www.googleapis.com/discovery/v1/apis/calendar/v3/rest\n\nJava environments (e.g. Java 6, Android 2.3, App Engine, or All)?\n\nAll\n\nPlease describe the feature requested.\n\nSee this new annotation in the discovery document referenced above:\n\n\ninsert: {\nid: \"calendar.calendarList.insert\",\npath: \"users/me/calendarList\",\nhttpMethod: \"POST\",\ndescription: \"Adds an entry to the user's calendar list.\",\nrequest: {\n$ref: \"CalendarListEntry\"\n},\nresponse: {\n$ref: \"CalendarListEntry\"\n},\nscopes: [\n\"https://www.googleapis.com/auth/calendar\"\n]\n},\n...\nCalendarListEntry: {\nid: \"CalendarListEntry\",\ntype: \"object\",\nproperties: {\n...\nid: {\ntype: \"string\",\ndescription: \"Identifier of the calendar.\",\nannotations: {\nrequired: [\n\"calendar.calendarList.insert\",\n\"calendar.calendarList.update\"\n]\n}\n},\n\nSo if I call:\n\ncalendar.calendarList().insert(new CalendarListEntry())\n\nI'd expect it to throw a NullPointerException with a nice message like \n\"Required parameter id in CalendarListEntry must be specified\".\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 24 Apr 2012 at 12:59"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76794056","html_url":"https://github.com/chrsmith/google-api-java-client/issues/466#issuecomment-76794056","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/466","id":76794056,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T19:37:13Z","updated_at":"2015-03-02T19:37:13Z","body":"\n\nOriginal comment by `rmis...@google.com` on 7 Feb 2013 at 4:08\n* Changed state: **Fixed**"}}