{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-go-client/issues/109","labels_url":"https://api.github.com/repos/google/google-api-go-client/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-go-client/issues/109/comments","events_url":"https://api.github.com/repos/google/google-api-go-client/issues/109/events","html_url":"https://github.com/google/google-api-go-client/issues/109","id":109721436,"number":109,"title":"How to use with 3rd party endpoints?","user":{"login":"vvakame","id":125332,"avatar_url":"https://avatars.githubusercontent.com/u/125332?v=3","gravatar_id":"","url":"https://api.github.com/users/vvakame","html_url":"https://github.com/vvakame","followers_url":"https://api.github.com/users/vvakame/followers","following_url":"https://api.github.com/users/vvakame/following{/other_user}","gists_url":"https://api.github.com/users/vvakame/gists{/gist_id}","starred_url":"https://api.github.com/users/vvakame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvakame/subscriptions","organizations_url":"https://api.github.com/users/vvakame/orgs","repos_url":"https://api.github.com/users/vvakame/repos","events_url":"https://api.github.com/users/vvakame/events{/privacy}","received_events_url":"https://api.github.com/users/vvakame/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-05T02:34:47Z","updated_at":"2015-10-05T21:53:03Z","closed_at":null,"body":"I'm using google-api-go-generator with own API of CloudEndpoints https://github.com/GoogleCloudPlatform/go-endpoints\r\njust likes `google-api-go-generator -cache=false -discoveryurl=https://${discoveryHost}/_ah/api/discovery/v1/apis -api=user:v2 -gendir=${cwd}/src/foobar`\r\n\r\nI have 2 issues now.\r\n\r\n1. apiPackageBase is not configurable.\r\nhttps://github.com/google/google-api-go-client/blob/master/google-api-go-generator/gen.go#L45\r\nCustom Import Path Checking blocks compiling about our generated code.\r\nby https://github.com/google/google-api-go-client/commit/09c6521081a8b11e2c277b747b24324cfdfa5c25\r\n\r\n2. google-api-go-client uses internal dir.\r\nour generated code can't access to google.golang.org/api/internal .\r\nThis is not problem just now. We use google appengine that sdk still go 1.4 base.\r\n\r\nWe need code generator for CloudEndpoints. :smiley: \r\n"},"comment":{"url":"https://api.github.com/repos/google/google-api-go-client/issues/comments/145678824","html_url":"https://github.com/google/google-api-go-client/issues/109#issuecomment-145678824","issue_url":"https://api.github.com/repos/google/google-api-go-client/issues/109","id":145678824,"user":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T21:53:03Z","updated_at":"2015-10-05T21:53:03Z","body":"My first attempt at a solution was apparently not correct.  We need to discuss the proper solution before attempting a fix.  /cc @bradfitz "}}