{"action":"closed","issue":{"url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/372","labels_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/372/comments","events_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/372/events","html_url":"https://github.com/domaindrivendev/Swashbuckle/issues/372","id":85221731,"number":372,"title":"SwaggerResponseAttribute - Type of IEnumerable","user":{"login":"jayoungers","id":6578515,"avatar_url":"https://avatars.githubusercontent.com/u/6578515?v=3","gravatar_id":"","url":"https://api.github.com/users/jayoungers","html_url":"https://github.com/jayoungers","followers_url":"https://api.github.com/users/jayoungers/followers","following_url":"https://api.github.com/users/jayoungers/following{/other_user}","gists_url":"https://api.github.com/users/jayoungers/gists{/gist_id}","starred_url":"https://api.github.com/users/jayoungers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayoungers/subscriptions","organizations_url":"https://api.github.com/users/jayoungers/orgs","repos_url":"https://api.github.com/users/jayoungers/repos","events_url":"https://api.github.com/users/jayoungers/events{/privacy}","received_events_url":"https://api.github.com/users/jayoungers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T18:39:18Z","updated_at":"2015-06-04T20:04:41Z","closed_at":"2015-06-04T20:04:41Z","body":"I just started playing around with this library today, so I may be missing something, but is this attribute compatible with IEnumerable?\r\n\r\nIf I set it to something like this, in the UI it correctly shows the model/schema:\r\n`[SwaggerResponse(System.Net.HttpStatusCode.BadRequest, \"Validation Failed\", typeof(ValidationResult))]`\r\n\r\nHowever, if I try to say it's an enumeration of some kind, the UI shows nothing for the response model:\r\n`[SwaggerResponse(System.Net.HttpStatusCode.BadRequest, \"Validation Failed\", typeof(ValidationResult[]))]`\r\n`[SwaggerResponse(System.Net.HttpStatusCode.BadRequest, \"Validation Failed\", typeof(List<ValidationResult>))]`\r\n`[SwaggerResponse(System.Net.HttpStatusCode.BadRequest, \"Validation Failed\", typeof(IEnumerable<ValidationResult>))]`\r\n\r\nIf I set the `ResponseType` to the same enumerable, the \"Response Class (Status 200)\" section at the top does populate correctly.  I tried to fork the project to determine if these two sections were following different logic, but I couldn't really tell either way.\r\n\r\nThe project looks great!  And I saw the thread about questioning whether to include this SwaggerResponse attribute, and I think it was a good choice adding it in!  Thanks!\r\n\r\n*edit*\r\nLooking at the data that is getting sent to the browser, it does appear everything is getting setup correctly:\r\n![image](https://cloud.githubusercontent.com/assets/6578515/7991969/98dc08e8-0ac1-11e5-9bbd-07588a9afef7.png)\r\n\r\nThere must just be an issue on the display side"}}