{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1793","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1793/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1793/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1793/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1793","id":119842003,"number":1793,"title":"Slashes in $ref do not work following RFC 6901","user":{"login":"josefguenther","id":1220566,"avatar_url":"https://avatars.githubusercontent.com/u/1220566?v=3","gravatar_id":"","url":"https://api.github.com/users/josefguenther","html_url":"https://github.com/josefguenther","followers_url":"https://api.github.com/users/josefguenther/followers","following_url":"https://api.github.com/users/josefguenther/following{/other_user}","gists_url":"https://api.github.com/users/josefguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/josefguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josefguenther/subscriptions","organizations_url":"https://api.github.com/users/josefguenther/orgs","repos_url":"https://api.github.com/users/josefguenther/repos","events_url":"https://api.github.com/users/josefguenther/events{/privacy}","received_events_url":"https://api.github.com/users/josefguenther/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T00:45:13Z","updated_at":"2015-12-02T00:45:13Z","closed_at":null,"body":"According to RFC 6901 Section 3, forward slashes in references should be encoded as ~1.\r\n\r\nSee: https://tools.ietf.org/html/rfc6901\r\n\r\nIn my use case, I have two files.\r\n\r\n**main.yaml**\r\n```\r\npaths:\r\n  /account/token:\r\n    $ref: 'account.yaml#/account~1token'\r\n```\r\n\r\n**account.yaml**\r\n```\r\naccount/token:\r\n  type: object\r\n  ....\r\naccount/mine:\r\n  type: object\r\n  ....\r\n```\r\n\r\nThe forward slashes in the pointer should be encoded as ~1, since referencing 'account/token' will look for an element named 'account' with a child named 'token'.\r\n\r\nCurrently it does not work..."}}