{"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/269","repository_url":"https://api.github.com/repos/strongloop/loopback-workspace","labels_url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/269/comments","events_url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/269/events","html_url":"https://github.com/strongloop/loopback-workspace/issues/269","id":142287955,"number":269,"title":"Incomplete remoting metadata for DataSourceDefinition.prototype.testConnection","user":{"login":"bajtos","id":1140553,"avatar_url":"https://avatars.githubusercontent.com/u/1140553?v=3","gravatar_id":"","url":"https://api.github.com/users/bajtos","html_url":"https://github.com/bajtos","followers_url":"https://api.github.com/users/bajtos/followers","following_url":"https://api.github.com/users/bajtos/following{/other_user}","gists_url":"https://api.github.com/users/bajtos/gists{/gist_id}","starred_url":"https://api.github.com/users/bajtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajtos/subscriptions","organizations_url":"https://api.github.com/users/bajtos/orgs","repos_url":"https://api.github.com/users/bajtos/repos","events_url":"https://api.github.com/users/bajtos/events{/privacy}","received_events_url":"https://api.github.com/users/bajtos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-workspace/labels/%23tob","name":"#tob","color":"eeeeee"},{"url":"https://api.github.com/repos/strongloop/loopback-workspace/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-21T08:48:56Z","updated_at":"2016-03-21T08:48:56Z","closed_at":null,"body":"See https://github.com/strongloop/loopback-swagger/pull/28#discussion_r55002524:\r\n\r\n`/DataSourceDefinitions/:id/testConnection` yields the following warning:\r\n```\r\nSwagger: skipping unknown type \"Error\" found in route {\"verb\":\"get\",\"path\":\"/DataSourceDefinitions/:id/testConnection\",\"documented\":true,\"method\":\"DataSourceDefinition.prototype.testConnection\",\"returns\":[{\"arg\":\"status\",\"type\":\"boolean\"},{\"arg\":\"error\",\"type\":\"Error\"}]}\r\n```\r\nthis seems originated by https://github.com/strongloop/loopback-workspace/blob/6b537f0657cc138430e5fe72f441e95b3b04e510/common/models/data-source-definition.js#L76"}}