{"action":"created","issue":{"url":"https://api.github.com/repos/lucybot/api-spec-converter/issues/72","labels_url":"https://api.github.com/repos/lucybot/api-spec-converter/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/lucybot/api-spec-converter/issues/72/comments","events_url":"https://api.github.com/repos/lucybot/api-spec-converter/issues/72/events","html_url":"https://github.com/lucybot/api-spec-converter/issues/72","id":123278341,"number":72,"title":"Assertion error while converting WADL to Swagger 2","user":{"login":"hiveship","id":6461306,"avatar_url":"https://avatars.githubusercontent.com/u/6461306?v=3","gravatar_id":"","url":"https://api.github.com/users/hiveship","html_url":"https://github.com/hiveship","followers_url":"https://api.github.com/users/hiveship/followers","following_url":"https://api.github.com/users/hiveship/following{/other_user}","gists_url":"https://api.github.com/users/hiveship/gists{/gist_id}","starred_url":"https://api.github.com/users/hiveship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiveship/subscriptions","organizations_url":"https://api.github.com/users/hiveship/orgs","repos_url":"https://api.github.com/users/hiveship/repos","events_url":"https://api.github.com/users/hiveship/events{/privacy}","received_events_url":"https://api.github.com/users/hiveship/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-21T13:18:15Z","updated_at":"2015-12-25T21:24:34Z","closed_at":null,"body":"I am getting an assertion error while trying to convert a WADL source file to it's Swagger 2 representation.\r\n\r\nThe stacktrace is :\r\n\r\n    at convertType (/usr/local/lib/node_modules/api-spec-converter/lib/types/wadl.js:56:5)\r\n    at convertParameter (/usr/local/lib/node_modules/api-spec-converter/lib/types/wadl.js:107:19)\r\n    at arrayMap (/usr/local/lib/node_modules/api-spec-converter/node_modules/lodash/index.js:1406:25)\r\n    at Function.map (/usr/local/lib/node_modules/api-spec-converter/node_modules/lodash/index.js:6710:14)\r\n    at convertMethod (/usr/local/lib/node_modules/api-spec-converter/lib/types/wadl.js:146:29)\r\n    at /usr/local/lib/node_modules/api-spec-converter/lib/types/wadl.js:165:30\r\n    at arrayEach (/usr/local/lib/node_modules/api-spec-converter/node_modules/lodash/index.js:1289:13)\r\n    at Function.<anonymous> (/usr/local/lib/node_modules/api-spec-converter/node_modules/lodash/index.js:3345:13)\r\n    at convertResource (/usr/local/lib/node_modules/api-spec-converter/lib/types/wadl.js:163:7)\r\n    at /usr/local/lib/node_modules/api-spec-converter/lib/types/wadl.js:184:20\r\n\r\nAnd in the code, it seems to be linked to xsd files ```( assert(wadlType.indexOf('xsd:') === 0);```). I don't really understand that.. Can you give me some more information ?\r\n"},"comment":{"url":"https://api.github.com/repos/lucybot/api-spec-converter/issues/comments/167263063","html_url":"https://github.com/lucybot/api-spec-converter/issues/72#issuecomment-167263063","issue_url":"https://api.github.com/repos/lucybot/api-spec-converter/issues/72","id":167263063,"user":{"login":"IvanGoncharov","id":8336157,"avatar_url":"https://avatars.githubusercontent.com/u/8336157?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanGoncharov","html_url":"https://github.com/IvanGoncharov","followers_url":"https://api.github.com/users/IvanGoncharov/followers","following_url":"https://api.github.com/users/IvanGoncharov/following{/other_user}","gists_url":"https://api.github.com/users/IvanGoncharov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanGoncharov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanGoncharov/subscriptions","organizations_url":"https://api.github.com/users/IvanGoncharov/orgs","repos_url":"https://api.github.com/users/IvanGoncharov/repos","events_url":"https://api.github.com/users/IvanGoncharov/events{/privacy}","received_events_url":"https://api.github.com/users/IvanGoncharov/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T21:24:34Z","updated_at":"2015-12-25T21:24:34Z","body":"@hiveship Merry christmas :christmas_tree: :santa: \r\nSorry for delay, I fixed first bug and will commit fix today.\r\nBut I discover couple more that block conversion of your WADL example.\r\nI will continue to work on it.\r\n\r\nYour example is also will be good addition for our testsuite.\r\nCan I commit it to this repository and make it public?"}}