{"action":"opened","issue":{"url":"https://api.github.com/repos/mpociot/laravel-apidoc-generator/issues/436","repository_url":"https://api.github.com/repos/mpociot/laravel-apidoc-generator","labels_url":"https://api.github.com/repos/mpociot/laravel-apidoc-generator/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/mpociot/laravel-apidoc-generator/issues/436/comments","events_url":"https://api.github.com/repos/mpociot/laravel-apidoc-generator/issues/436/events","html_url":"https://github.com/mpociot/laravel-apidoc-generator/issues/436","id":392083873,"node_id":"MDU6SXNzdWUzOTIwODM4NzM=","number":436,"title":"Mixed responses","user":{"login":"hubertnnn","id":1189576,"node_id":"MDQ6VXNlcjExODk1NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1189576?v=4","gravatar_id":"","url":"https://api.github.com/users/hubertnnn","html_url":"https://github.com/hubertnnn","followers_url":"https://api.github.com/users/hubertnnn/followers","following_url":"https://api.github.com/users/hubertnnn/following{/other_user}","gists_url":"https://api.github.com/users/hubertnnn/gists{/gist_id}","starred_url":"https://api.github.com/users/hubertnnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubertnnn/subscriptions","organizations_url":"https://api.github.com/users/hubertnnn/orgs","repos_url":"https://api.github.com/users/hubertnnn/repos","events_url":"https://api.github.com/users/hubertnnn/events{/privacy}","received_events_url":"https://api.github.com/users/hubertnnn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T10:13:35Z","updated_at":"2018-12-18T10:13:35Z","closed_at":null,"author_association":"NONE","body":"I found a use case where responses api does not work.\r\nIf you want to mix response types, then it will only use one response.\r\neg.\r\n\r\n```\r\n@transformer \\App\\Transformers\\UserTransformer\r\n@transformerModel \\App\\Models\\User\r\n@response 404 { found: false }\r\n```\r\nor\r\n```\r\n@response { success: true }\r\n@responseFile 403 docs/responses/unauthorized.json\r\n```\r\nIt might seem like a rare case, but it will be useful if you want to add shared error messages to docs."}}
{"actor":{"display_login":"hubertnnn"}}