{"action":"opened","issue":{"url":"https://api.github.com/repos/atomicbits/scraml/issues/43","labels_url":"https://api.github.com/repos/atomicbits/scraml/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/atomicbits/scraml/issues/43/comments","events_url":"https://api.github.com/repos/atomicbits/scraml/issues/43/events","html_url":"https://github.com/atomicbits/scraml/issues/43","id":120994693,"number":43,"title":"Hyphens not working for paths","user":{"login":"ScalaWilliam","id":2464813,"avatar_url":"https://avatars.githubusercontent.com/u/2464813?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaWilliam","html_url":"https://github.com/ScalaWilliam","followers_url":"https://api.github.com/users/ScalaWilliam/followers","following_url":"https://api.github.com/users/ScalaWilliam/following{/other_user}","gists_url":"https://api.github.com/users/ScalaWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaWilliam/subscriptions","organizations_url":"https://api.github.com/users/ScalaWilliam/orgs","repos_url":"https://api.github.com/users/ScalaWilliam/repos","events_url":"https://api.github.com/users/ScalaWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaWilliam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-08T12:14:51Z","updated_at":"2015-12-08T12:14:51Z","closed_at":null,"body":"As source code that is generated includes paths directly by the look of it.\r\n\r\nE.g. compilation gives the following error:\r\n```\r\n[error] ...\\scraml-test-scala\\target\\scala-2.11\\src_managed\\main\\io\\atomicbits\\scraml\\rest\\user\\UserResource.scala:27: '=' expected but identifier found.\r\n[error]            def up-load = new io.atomicbits.scraml.rest.user.upload.UpLoadResource(requestBuilder.withAddedPathSegment(\"up-load\"))\r\n[error] ...\\scraml-test-scala\\target\\scala-2.11\\src_managed\\main\\io\\atomicbits\\scraml\\rest\\user\\UserResource.scala:29: illegal start of simple expression\r\n\r\n```\r\n\r\nreproduce:\r\n\r\n```\r\nhttps://github.com/atomicbits/scraml-test-scala/blob/develop/src/main/resources/io/atomicbits/scraml/user.raml#L31\r\n```\r\nchange ```upload``` to ```up-load```\r\n\r\nthen do sbt compile."}}