{"action":"created","issue":{"url":"https://api.github.com/repos/zalando/connexion/issues/222","repository_url":"https://api.github.com/repos/zalando/connexion","labels_url":"https://api.github.com/repos/zalando/connexion/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/zalando/connexion/issues/222/comments","events_url":"https://api.github.com/repos/zalando/connexion/issues/222/events","html_url":"https://github.com/zalando/connexion/pull/222","id":153963085,"number":222,"title":"Defer user error handing for swagger spec validator","user":{"login":"rafaelcaricio","id":107613,"avatar_url":"https://avatars.githubusercontent.com/u/107613?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelcaricio","html_url":"https://github.com/rafaelcaricio","followers_url":"https://api.github.com/users/rafaelcaricio/followers","following_url":"https://api.github.com/users/rafaelcaricio/following{/other_user}","gists_url":"https://api.github.com/users/rafaelcaricio/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelcaricio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelcaricio/subscriptions","organizations_url":"https://api.github.com/users/rafaelcaricio/orgs","repos_url":"https://api.github.com/users/rafaelcaricio/repos","events_url":"https://api.github.com/users/rafaelcaricio/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelcaricio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zalando/connexion/labels/in%20progress","name":"in progress","color":"00a7ed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-10T09:33:15Z","updated_at":"2016-05-10T13:39:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zalando/connexion/pulls/222","html_url":"https://github.com/zalando/connexion/pull/222","diff_url":"https://github.com/zalando/connexion/pull/222.diff","patch_url":"https://github.com/zalando/connexion/pull/222.patch"},"body":"Fixes #220\r\n\r\nIf a developer write an invalid Swagger spec the `compatibility_layer` function was failing to navigate through the invalid spec structure misleading to an error in Connexion instead of exposing the invalid Swagger spec structure. Now we defer the handing of the error to the swagger spec validator.\r\n\r\nChanges proposed in this pull request:\r\n\r\n - Verify if the method definition is a dict before calling `.get` in `compatibility_layer` function."},"comment":{"url":"https://api.github.com/repos/zalando/connexion/issues/comments/218159782","html_url":"https://github.com/zalando/connexion/pull/222#issuecomment-218159782","issue_url":"https://api.github.com/repos/zalando/connexion/issues/222","id":218159782,"user":{"login":"jmcs","id":3719966,"avatar_url":"https://avatars.githubusercontent.com/u/3719966?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcs","html_url":"https://github.com/jmcs","followers_url":"https://api.github.com/users/jmcs/followers","following_url":"https://api.github.com/users/jmcs/following{/other_user}","gists_url":"https://api.github.com/users/jmcs/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcs/subscriptions","organizations_url":"https://api.github.com/users/jmcs/orgs","repos_url":"https://api.github.com/users/jmcs/repos","events_url":"https://api.github.com/users/jmcs/events{/privacy}","received_events_url":"https://api.github.com/users/jmcs/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T13:39:17Z","updated_at":"2016-05-10T13:39:17Z","body":":+1:"}}