{"action":"created","issue":{"url":"https://api.github.com/repos/jhthorsen/swagger2/issues/91","repository_url":"https://api.github.com/repos/jhthorsen/swagger2","labels_url":"https://api.github.com/repos/jhthorsen/swagger2/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/jhthorsen/swagger2/issues/91/comments","events_url":"https://api.github.com/repos/jhthorsen/swagger2/issues/91/events","html_url":"https://github.com/jhthorsen/swagger2/issues/91","id":169373478,"number":91,"title":"Custom error responses","user":{"login":"anschwa","id":6307325,"avatar_url":"https://avatars.githubusercontent.com/u/6307325?v=3","gravatar_id":"","url":"https://api.github.com/users/anschwa","html_url":"https://github.com/anschwa","followers_url":"https://api.github.com/users/anschwa/followers","following_url":"https://api.github.com/users/anschwa/following{/other_user}","gists_url":"https://api.github.com/users/anschwa/gists{/gist_id}","starred_url":"https://api.github.com/users/anschwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anschwa/subscriptions","organizations_url":"https://api.github.com/users/anschwa/orgs","repos_url":"https://api.github.com/users/anschwa/repos","events_url":"https://api.github.com/users/anschwa/events{/privacy}","received_events_url":"https://api.github.com/users/anschwa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-04T13:25:00Z","updated_at":"2016-08-05T08:45:56Z","closed_at":null,"body":"Hi, how would I be able to define my own `@errors` response JSON so that it matches what I have defined in my `swagger.yaml` document?\r\n\r\nIs this possible with your plugin?\r\nThanks."},"comment":{"url":"https://api.github.com/repos/jhthorsen/swagger2/issues/comments/237791566","html_url":"https://github.com/jhthorsen/swagger2/issues/91#issuecomment-237791566","issue_url":"https://api.github.com/repos/jhthorsen/swagger2/issues/91","id":237791566,"user":{"login":"jhthorsen","id":45729,"avatar_url":"https://avatars.githubusercontent.com/u/45729?v=3","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T08:45:56Z","updated_at":"2016-08-05T08:45:56Z","body":"I suggest looking at Mojolicious::Plugin::OpenAPI. It's the successor for Swagger2. You can do this out of the box with that plugin, since there's no \"magical\" wrapping of the controller code."}}
{"actor":{"display_login":"jhthorsen"}}