{"action":"created","issue":{"url":"https://api.github.com/repos/apigee-127/sway/issues/122","repository_url":"https://api.github.com/repos/apigee-127/sway","labels_url":"https://api.github.com/repos/apigee-127/sway/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/apigee-127/sway/issues/122/comments","events_url":"https://api.github.com/repos/apigee-127/sway/issues/122/events","html_url":"https://github.com/apigee-127/sway/issues/122","id":201480630,"number":122,"title":"ptr must be a JSON Pointer","user":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars.githubusercontent.com/u/4521223?v=3","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-01-18T05:08:46Z","updated_at":"2017-01-18T23:54:34Z","closed_at":"2017-01-18T22:35:20Z","body":"Not sure what is going on over here.  I have double checked and the references are correct. Not sure why sway (or json-refs internally) is not able to resolve the references.\r\n\r\nThe reference in question in the [swagger spec](https://github.com/tjlvtao/azure-rest-api-specs/blob/master/arm-customer-insights/2016-01-01/swagger/customer-insights.json#L800) and the referenced relative-remote file is [here](https://github.com/tjlvtao/azure-rest-api-specs/blob/master/arm-customer-insights/2016-01-01/examples/RelationshipsDelete.json)\r\n\r\nNote: I did provide the raw-github urls.. Using the actual links in the above statement so that I can point to the line numbers.\r\n\r\nErrors received\r\n```\r\n[ { code: 'UNRESOLVABLE_REFERENCE',\r\n       message: 'Reference could not be resolved: ../examples/RelationshipsDelete.json',\r\n       path:\r\n        [ 'paths',\r\n          '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}',\r\n          'delete',\r\n          'x-ms-examples',\r\n          'Relationships_Delete',\r\n          '$ref' ],\r\n       error: 'ptr must be a JSON Pointer' },\r\n     { code: 'UNRESOLVABLE_REFERENCE',\r\n       message: 'Reference could not be resolved: ../examples/RelationshipLinksDelete.json',\r\n       path:\r\n        [ 'paths',\r\n          '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}',\r\n          'delete',\r\n          'x-ms-examples',\r\n          'RelationshipLinks_Delete',\r\n          '$ref' ],\r\n       error: 'ptr must be a JSON Pointer' } ]\r\n```\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/apigee-127/sway/issues/comments/273639973","html_url":"https://github.com/apigee-127/sway/issues/122#issuecomment-273639973","issue_url":"https://api.github.com/repos/apigee-127/sway/issues/122","id":273639973,"user":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars.githubusercontent.com/u/4521223?v=3","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"created_at":"2017-01-18T23:54:34Z","updated_at":"2017-01-18T23:54:34Z","body":"@whitlockjc - Thanks for looking into this. Looks like you have looked into the first issue. I wanted to confirm whether you looked into the second issue or not? [This](https://github.com/apigee-127/sway/issues/122#issuecomment-273539213) is the issue I am talking about. In that issue, I did not have any example json files. They were simply local references to models defined in other specs."}}
{"actor":{"display_login":"amarzavery"}}