{"action":"created","issue":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/47","labels_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/47/comments","events_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/47/events","html_url":"https://github.com/go-swagger/go-swagger/issues/47","id":99070457,"number":47,"title":"generate spec fails if code doesn't compile, breaking app engine support","user":{"login":"defcronyke","id":1868936,"avatar_url":"https://avatars.githubusercontent.com/u/1868936?v=3","gravatar_id":"","url":"https://api.github.com/users/defcronyke","html_url":"https://github.com/defcronyke","followers_url":"https://api.github.com/users/defcronyke/followers","following_url":"https://api.github.com/users/defcronyke/following{/other_user}","gists_url":"https://api.github.com/users/defcronyke/gists{/gist_id}","starred_url":"https://api.github.com/users/defcronyke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defcronyke/subscriptions","organizations_url":"https://api.github.com/users/defcronyke/orgs","repos_url":"https://api.github.com/users/defcronyke/repos","events_url":"https://api.github.com/users/defcronyke/events{/privacy}","received_events_url":"https://api.github.com/users/defcronyke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-swagger/go-swagger/labels/future/maybe","name":"future/maybe","color":"bfe5bf"},{"url":"https://api.github.com/repos/go-swagger/go-swagger/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-04T21:55:15Z","updated_at":"2015-08-05T18:12:55Z","closed_at":null,"body":"App engine apps use some package imports which don't resolve when run with go build: \"appengine\", \"appengine/datastore\", etc. But it seems like \"swagger generate spec\" fails if it can't first build my app. To support app engine you'd need to remove that requirement. I would like to use go-swagger with my app engine project, so please make it parse the comments without first needing to build the app."},"comment":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/comments/128095719","html_url":"https://github.com/go-swagger/go-swagger/issues/47#issuecomment-128095719","issue_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/47","id":128095719,"user":{"login":"defcronyke","id":1868936,"avatar_url":"https://avatars.githubusercontent.com/u/1868936?v=3","gravatar_id":"","url":"https://api.github.com/users/defcronyke","html_url":"https://github.com/defcronyke","followers_url":"https://api.github.com/users/defcronyke/followers","following_url":"https://api.github.com/users/defcronyke/following{/other_user}","gists_url":"https://api.github.com/users/defcronyke/gists{/gist_id}","starred_url":"https://api.github.com/users/defcronyke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defcronyke/subscriptions","organizations_url":"https://api.github.com/users/defcronyke/orgs","repos_url":"https://api.github.com/users/defcronyke/repos","events_url":"https://api.github.com/users/defcronyke/events{/privacy}","received_events_url":"https://api.github.com/users/defcronyke/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T18:12:55Z","updated_at":"2015-08-05T18:12:55Z","body":"Wow! You're right man! All that was needed to make generate spec work, was to add this to GOPATH:\r\n<go_appengine_sdk_location>/goroot\r\n\r\nThe appengine includes are in there. It's working now, thanks for the insight!"}}