{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/701","repository_url":"https://api.github.com/repos/swagger-api/swagger-parser","labels_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/701/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/701/events","html_url":"https://github.com/swagger-api/swagger-parser/issues/701","id":320155931,"number":701,"title":"Quick Question : Regarding $ref to external files","user":{"login":"mutkur","id":29439539,"avatar_url":"https://avatars2.githubusercontent.com/u/29439539?v=4","gravatar_id":"","url":"https://api.github.com/users/mutkur","html_url":"https://github.com/mutkur","followers_url":"https://api.github.com/users/mutkur/followers","following_url":"https://api.github.com/users/mutkur/following{/other_user}","gists_url":"https://api.github.com/users/mutkur/gists{/gist_id}","starred_url":"https://api.github.com/users/mutkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mutkur/subscriptions","organizations_url":"https://api.github.com/users/mutkur/orgs","repos_url":"https://api.github.com/users/mutkur/repos","events_url":"https://api.github.com/users/mutkur/events{/privacy}","received_events_url":"https://api.github.com/users/mutkur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-04T05:15:45Z","updated_at":"2018-05-04T05:15:45Z","closed_at":null,"author_association":"NONE","body":"I have come across a section in swagger specification that we can use $ref to external files as\r\n 1 ) Relative Schema File Example\r\n 2 ) Relative Files With Embedded Schema \r\n\r\nSo the question is if we have format like $ref:\"../common/shared.yaml#/definitions/MyObj' is it necessary that shared.yaml is a complete swagger file or could just be some yaml/json file with some definitions ? What is the assumption around the external references.\r\n\r\nThanks in advance  "}}
{"actor":{"display_login":"mutkur"}}