{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-node/issues/239","labels_url":"https://api.github.com/repos/swagger-api/swagger-node/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-node/issues/239/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-node/issues/239/events","html_url":"https://github.com/swagger-api/swagger-node/issues/239","id":91959784,"number":239,"title":"Defining spec in-app v. YAML?","user":{"login":"dwasyluk","id":987186,"avatar_url":"https://avatars.githubusercontent.com/u/987186?v=3","gravatar_id":"","url":"https://api.github.com/users/dwasyluk","html_url":"https://github.com/dwasyluk","followers_url":"https://api.github.com/users/dwasyluk/followers","following_url":"https://api.github.com/users/dwasyluk/following{/other_user}","gists_url":"https://api.github.com/users/dwasyluk/gists{/gist_id}","starred_url":"https://api.github.com/users/dwasyluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwasyluk/subscriptions","organizations_url":"https://api.github.com/users/dwasyluk/orgs","repos_url":"https://api.github.com/users/dwasyluk/repos","events_url":"https://api.github.com/users/dwasyluk/events{/privacy}","received_events_url":"https://api.github.com/users/dwasyluk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T02:31:06Z","updated_at":"2015-06-30T02:31:06Z","closed_at":null,"body":"Im new to swagger so please excuse the simplistic question. I got a simple hello world example working with swagger in my app using this type of spec definition in the app itself - https://github.com/swagger-api/swagger-node/issues/189. I'm seeing a lot of documentation that points to creating an external YAML file to define the endpoint specs. What's the correct approach here? Also I'm assuming swagger-node has superceded swagger-node-express? Have the changes been pushed to npm as its repo for swagger-node-express points here."}}