{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-js/issues/838","repository_url":"https://api.github.com/repos/swagger-api/swagger-js","labels_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/838/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/838/events","html_url":"https://github.com/swagger-api/swagger-js/issues/838","id":172186763,"number":838,"title":"model classes vs http://editor.swagger.io/","user":{"login":"mbana","id":22658,"avatar_url":"https://avatars.githubusercontent.com/u/22658?v=3","gravatar_id":"","url":"https://api.github.com/users/mbana","html_url":"https://github.com/mbana","followers_url":"https://api.github.com/users/mbana/followers","following_url":"https://api.github.com/users/mbana/following{/other_user}","gists_url":"https://api.github.com/users/mbana/gists{/gist_id}","starred_url":"https://api.github.com/users/mbana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbana/subscriptions","organizations_url":"https://api.github.com/users/mbana/orgs","repos_url":"https://api.github.com/users/mbana/repos","events_url":"https://api.github.com/users/mbana/events{/privacy}","received_events_url":"https://api.github.com/users/mbana/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-19T18:01:40Z","updated_at":"2016-09-21T15:40:51Z","closed_at":"2016-09-14T22:29:12Z","body":"hi,\r\n\r\nhow does one access the models that client constructs?\r\ni've noticed that i can export a client via http://editor.swagger.io/, that comes along with the model definitions.\r\nbasically, some sort of \"static typing\" would be great...\r\n\r\nthanks,"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-js/issues/comments/248652064","html_url":"https://github.com/swagger-api/swagger-js/issues/838#issuecomment-248652064","issue_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/838","id":248652064,"user":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T15:40:51Z","updated_at":"2016-09-21T15:40:51Z","body":"Because, `res.obj` is the parsed version of your _response payload_, not the payload definition.  It doesn't make sense to be in that object."}}
{"actor":{"display_login":"fehguy"}}