{"action":"opened","issue":{"url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/579","repository_url":"https://api.github.com/repos/raml-org/raml-js-parser-2","labels_url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/579/comments","events_url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/579/events","html_url":"https://github.com/raml-org/raml-js-parser-2/issues/579","id":196770492,"number":579,"title":"Parser throws error for a raml 0.8 body","user":{"login":"VasiliyLysokobylko","id":13314242,"avatar_url":"https://avatars.githubusercontent.com/u/13314242?v=3","gravatar_id":"","url":"https://api.github.com/users/VasiliyLysokobylko","html_url":"https://github.com/VasiliyLysokobylko","followers_url":"https://api.github.com/users/VasiliyLysokobylko/followers","following_url":"https://api.github.com/users/VasiliyLysokobylko/following{/other_user}","gists_url":"https://api.github.com/users/VasiliyLysokobylko/gists{/gist_id}","starred_url":"https://api.github.com/users/VasiliyLysokobylko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasiliyLysokobylko/subscriptions","organizations_url":"https://api.github.com/users/VasiliyLysokobylko/orgs","repos_url":"https://api.github.com/users/VasiliyLysokobylko/repos","events_url":"https://api.github.com/users/VasiliyLysokobylko/events{/privacy}","received_events_url":"https://api.github.com/users/VasiliyLysokobylko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-20T20:19:31Z","updated_at":"2016-12-20T20:19:31Z","closed_at":null,"body":"```RAML\r\n#%RAML 0.8\r\ntitle: Example API\r\nversion: v1\r\nmediaType: application/json\r\nresourceTypes:\r\n  - collection:\r\n      get:\r\n        responses:\r\n          20*0:\r\n            body:\r\n              <<resourcePathName>> # e.g. Users\r\n      post:\r\n        responses:\r\n          200:\r\n            body:\r\n              type: <<resourcePathName | !singularize>>  # e.g. User\r\n  - member:\r\n      get:\r\n        responses:\r\n          200:\r\n            body:\r\n              type: <<resourcePathName>> # e.g. User\r\ntraits:\r\n  - secured:\r\n      description: Some requests require authentication\r\n      queryParameters:\r\n        <<methodName>>: # e.g. get:\r\n          description: A <<methodName>>-token pair is required  # e.g. A get-token pair...\r\n          example: <<methodName>>=h8duh3uhhu38   # e.g. get=h8duh3uhhu38\r\n```\r\n\r\nResult:\r\n\r\nError: Message parameter 'name' has no value specified.\r\n    at applyTemplate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:3603:19)\r\n    at createIssue1 (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:3480:15)\r\n    at CompositeNodeValidator.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:2432:29)\r\n    at Object.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:781:38)\r\n    at ASTNodeImpl.BasicASTNode.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:190:16)\r\n    at ASTNodeImpl.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:997:35)\r\n    at /Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:580:15\r\n    at Array.forEach (native)\r\n    at validateBasic (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:574:12)\r\n    at Object.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:778:13)\r\n    at ASTNodeImpl.BasicASTNode.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:190:16)\r\n    at ASTNodeImpl.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:997:35)\r\n    at /Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:580:15\r\n    at Array.forEach (native)\r\n    at validateBasic (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:574:12)\r\n    at Object.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:778:13)\r\n    at ASTNodeImpl.BasicASTNode.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:190:16)\r\n    at ASTNodeImpl.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:997:35)\r\n    at /Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:580:15\r\n    at Array.forEach (native)\r\n    at validateBasic (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:574:12)\r\n    at Object.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:778:13)\r\n    at ASTNodeImpl.BasicASTNode.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:190:16)\r\n    at ASTNodeImpl.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:997:35)\r\n    at /Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:580:15\r\n    at Array.forEach (native)\r\n    at validateBasic (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:574:12)\r\n    at Object.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/ast.core/linter.js:778:13)\r\n    at ASTNodeImpl.BasicASTNode.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:190:16)\r\n    at ASTNodeImpl.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:997:35)\r\n    at ASTNodeImpl.validate (/Users/vasil/Documents/api-workbench/parserWorkspace/raml-js-parser-2/dist/raml1/highLevelImpl.js:990:24)\r\n    at gatherValidationErrors (/Users/vasil/Documents/api-workbench/testDevelop/api-workbench/src/atom/core/linter-ui.js:251:17)\r\n    at actualLint (/Users/vasil/Documents/api-workbench/testDevelop/api-workbench/src/atom/core/linter-ui.js:158:5)\r\n    at Object.lint (/Users/vasil/Documents/api-workbench/testDevelop/api-workbench/src/atom/core/linter-ui.js:79:18)\r\n    at promises.push.Promise.then._this.emitter.emit.linter (/Users/vasil/.atom/packages/linter/lib/linter-registry.js:63:26)\r\n    at /Users/vasil/.atom/packages/linter/lib/linter-registry.js:62:23\r\n    at Set.forEach (native)\r\n    at LinterRegistry.lint (/Users/vasil/.atom/packages/linter/lib/linter-registry.js:60:18)\r\n    at /Users/vasil/.atom/packages/linter/lib/linter.coffee:98:16\r\n    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)\r\n    at /Users/vasil/.atom/packages/linter/lib/editor-linter.js:86:22\r\n    at /Users/vasil/.atom/packages/linter/lib/helpers.coffee:25:18\r\n"}}
{"actor":{"display_login":"VasiliyLysokobylko"}}