{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1004","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1004/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1004/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1004/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1004","id":60012121,"number":1004,"title":"IEnumerable<primitive> is not working","user":{"login":"christopheblin","id":11044877,"avatar_url":"https://avatars.githubusercontent.com/u/11044877?v=3","gravatar_id":"","url":"https://api.github.com/users/christopheblin","html_url":"https://github.com/christopheblin","followers_url":"https://api.github.com/users/christopheblin/followers","following_url":"https://api.github.com/users/christopheblin/following{/other_user}","gists_url":"https://api.github.com/users/christopheblin/gists{/gist_id}","starred_url":"https://api.github.com/users/christopheblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopheblin/subscriptions","organizations_url":"https://api.github.com/users/christopheblin/orgs","repos_url":"https://api.github.com/users/christopheblin/repos","events_url":"https://api.github.com/users/christopheblin/events{/privacy}","received_events_url":"https://api.github.com/users/christopheblin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-05T20:37:17Z","updated_at":"2015-03-05T20:46:16Z","closed_at":null,"body":"Please see https://github.com/domaindrivendev/Swashbuckle/issues/211\r\n\r\nTo summarize, in swagger-ui, for the model I have\r\n```javascript\r\n\"tokens\": [\r\n    \"string\"\r\n  ],\r\n\"apps\": [\r\n    {\r\n      \"id\": \"string\",\r\n      \"name\": \"string\",\r\n      \"url\": \"string\"\r\n    }\r\n  ]\r\n```\r\n\r\nSo far so good but now when I click on the Model, I have \r\n```\r\ntokens(string, optional)  //here is problematic\r\napps(Array[Application], optional) //here is ok\r\n```\r\nwhereas I should have\r\n```\r\ntokens(Array[string], optional)  \r\napps(Array[Application], optional)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/77448084","html_url":"https://github.com/swagger-api/swagger-ui/issues/1004#issuecomment-77448084","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1004","id":77448084,"user":{"login":"christopheblin","id":11044877,"avatar_url":"https://avatars.githubusercontent.com/u/11044877?v=3","gravatar_id":"","url":"https://api.github.com/users/christopheblin","html_url":"https://github.com/christopheblin","followers_url":"https://api.github.com/users/christopheblin/followers","following_url":"https://api.github.com/users/christopheblin/following{/other_user}","gists_url":"https://api.github.com/users/christopheblin/gists{/gist_id}","starred_url":"https://api.github.com/users/christopheblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopheblin/subscriptions","organizations_url":"https://api.github.com/users/christopheblin/orgs","repos_url":"https://api.github.com/users/christopheblin/repos","events_url":"https://api.github.com/users/christopheblin/events{/privacy}","received_events_url":"https://api.github.com/users/christopheblin/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T20:46:16Z","updated_at":"2015-03-05T20:46:16Z","body":"@webron I am at home at the moment and this is a bug I encounter at work with c#.\r\n\r\nAt the moment, there is a critical bug when you click on the Model link\r\nhttp://petstore.swagger.io/#!/pet/findPetsByStatus\r\n\r\n<hen you click on Model you only have array {} which is worse than having the problem I describe.\r\n\r\nWhen this will be corrected like in the previous version, you could see that photoUrls is written as photoUrls(string, optionnal) instead of photoUrls(Array[string], optional)\r\n\r\nhope that helps you to see the problem"}}