{"action":"created","issue":{"url":"https://api.github.com/repos/theganyo/swagger-node-runner/issues/7","labels_url":"https://api.github.com/repos/theganyo/swagger-node-runner/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/theganyo/swagger-node-runner/issues/7/comments","events_url":"https://api.github.com/repos/theganyo/swagger-node-runner/issues/7/events","html_url":"https://github.com/theganyo/swagger-node-runner/pull/7","id":97968382,"number":7,"title":"Add option to pass yaml object instead of path","user":{"login":"GiladShoham","id":3840769,"avatar_url":"https://avatars.githubusercontent.com/u/3840769?v=3","gravatar_id":"","url":"https://api.github.com/users/GiladShoham","html_url":"https://github.com/GiladShoham","followers_url":"https://api.github.com/users/GiladShoham/followers","following_url":"https://api.github.com/users/GiladShoham/following{/other_user}","gists_url":"https://api.github.com/users/GiladShoham/gists{/gist_id}","starred_url":"https://api.github.com/users/GiladShoham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiladShoham/subscriptions","organizations_url":"https://api.github.com/users/GiladShoham/orgs","repos_url":"https://api.github.com/users/GiladShoham/repos","events_url":"https://api.github.com/users/GiladShoham/events{/privacy}","received_events_url":"https://api.github.com/users/GiladShoham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-29T15:55:08Z","updated_at":"2015-07-31T16:50:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theganyo/swagger-node-runner/pulls/7","html_url":"https://github.com/theganyo/swagger-node-runner/pull/7","diff_url":"https://github.com/theganyo/swagger-node-runner/pull/7.diff","patch_url":"https://github.com/theganyo/swagger-node-runner/pull/7.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/theganyo/swagger-node-runner/issues/comments/126750154","html_url":"https://github.com/theganyo/swagger-node-runner/pull/7#issuecomment-126750154","issue_url":"https://api.github.com/repos/theganyo/swagger-node-runner/issues/7","id":126750154,"user":{"login":"GiladShoham","id":3840769,"avatar_url":"https://avatars.githubusercontent.com/u/3840769?v=3","gravatar_id":"","url":"https://api.github.com/users/GiladShoham","html_url":"https://github.com/GiladShoham","followers_url":"https://api.github.com/users/GiladShoham/followers","following_url":"https://api.github.com/users/GiladShoham/following{/other_user}","gists_url":"https://api.github.com/users/GiladShoham/gists{/gist_id}","starred_url":"https://api.github.com/users/GiladShoham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiladShoham/subscriptions","organizations_url":"https://api.github.com/users/GiladShoham/orgs","repos_url":"https://api.github.com/users/GiladShoham/repos","events_url":"https://api.github.com/users/GiladShoham/events{/privacy}","received_events_url":"https://api.github.com/users/GiladShoham/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T16:50:24Z","updated_at":"2015-07-31T16:50:24Z","body":"Hi,\r\nI will check this, but i still think it a great feature because of 2 reasons:\r\n1. you can never know where is the swagger of the user come from, maybe someone generate it from other spec in run time or someone can retrieve it from his DB or bring it in run time via HTTP from another server, so it's great option to pass it in.\r\n2. i have also added the option to pass different path of the yaml file, which is also a great feature because right now the yaml have to be in specific path in the project.\r\n\r\nLast thing, maybe it worth to ask the people who maintain the swagger node to make sure that the swagger-express-mw is using the last version of the runner.\r\n\r\nHave a nice day"}}