{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/769","repository_url":"https://api.github.com/repos/swagger-api/swagger-parser","labels_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/769/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/769/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/769/events","html_url":"https://github.com/swagger-api/swagger-parser/pull/769","id":340677845,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMDMyMDk2","number":769,"title":"Fix for issue 768 ($ref in external file in requestBody with resolve option true)","user":{"login":"ymohdriz","id":17422831,"node_id":"MDQ6VXNlcjE3NDIyODMx","avatar_url":"https://avatars0.githubusercontent.com/u/17422831?v=4","gravatar_id":"","url":"https://api.github.com/users/ymohdriz","html_url":"https://github.com/ymohdriz","followers_url":"https://api.github.com/users/ymohdriz/followers","following_url":"https://api.github.com/users/ymohdriz/following{/other_user}","gists_url":"https://api.github.com/users/ymohdriz/gists{/gist_id}","starred_url":"https://api.github.com/users/ymohdriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymohdriz/subscriptions","organizations_url":"https://api.github.com/users/ymohdriz/orgs","repos_url":"https://api.github.com/users/ymohdriz/repos","events_url":"https://api.github.com/users/ymohdriz/events{/privacy}","received_events_url":"https://api.github.com/users/ymohdriz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-12T15:03:20Z","updated_at":"2018-07-15T17:15:49Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-parser/pulls/769","html_url":"https://github.com/swagger-api/swagger-parser/pull/769","diff_url":"https://github.com/swagger-api/swagger-parser/pull/769.diff","patch_url":"https://github.com/swagger-api/swagger-parser/pull/769.patch"},"body":"Hi team,\r\n\r\nThis PR is to solve the issue '$ref in external file in requestBody with resolve option true' as mentioned in #768 \r\n\r\nPlease review the PR and merge the same.\r\n\r\nThanks,\r\nMohammed"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/comments/405104924","html_url":"https://github.com/swagger-api/swagger-parser/pull/769#issuecomment-405104924","issue_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/769","id":405104924,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTEwNDkyNA==","user":{"login":"ymohdriz","id":17422831,"node_id":"MDQ6VXNlcjE3NDIyODMx","avatar_url":"https://avatars0.githubusercontent.com/u/17422831?v=4","gravatar_id":"","url":"https://api.github.com/users/ymohdriz","html_url":"https://github.com/ymohdriz","followers_url":"https://api.github.com/users/ymohdriz/followers","following_url":"https://api.github.com/users/ymohdriz/following{/other_user}","gists_url":"https://api.github.com/users/ymohdriz/gists{/gist_id}","starred_url":"https://api.github.com/users/ymohdriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymohdriz/subscriptions","organizations_url":"https://api.github.com/users/ymohdriz/orgs","repos_url":"https://api.github.com/users/ymohdriz/repos","events_url":"https://api.github.com/users/ymohdriz/events{/privacy}","received_events_url":"https://api.github.com/users/ymohdriz/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T17:15:49Z","updated_at":"2018-07-15T17:15:49Z","author_association":"NONE","body":"Hi @gracekarina,\r\n\r\nIf the reference starts with '#/' then it's internal.\r\nIf the reference starts with 'http', then it's url.\r\nif the reference contains '#/' and also not starts with '#/', then it's a relative with the references file. For example, \"$ref\" : \"reference.json#/definitions/sampleSchema\" this is relative right?\r\n\r\nThanks,\r\nMohammed"}}
{"actor":{"display_login":"ymohdriz"}}