{"action":"closed","issue":{"url":"https://api.github.com/repos/zircote/swagger-php/issues/152","labels_url":"https://api.github.com/repos/zircote/swagger-php/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/zircote/swagger-php/issues/152/comments","events_url":"https://api.github.com/repos/zircote/swagger-php/issues/152/events","html_url":"https://github.com/zircote/swagger-php/issues/152","id":38817014,"number":152,"title":"How could I set the array of items are return type?","user":{"login":"PavelPolyakov","id":839290,"avatar_url":"https://avatars.githubusercontent.com/u/839290?v=3","gravatar_id":"","url":"https://api.github.com/users/PavelPolyakov","html_url":"https://github.com/PavelPolyakov","followers_url":"https://api.github.com/users/PavelPolyakov/followers","following_url":"https://api.github.com/users/PavelPolyakov/following{/other_user}","gists_url":"https://api.github.com/users/PavelPolyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/PavelPolyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PavelPolyakov/subscriptions","organizations_url":"https://api.github.com/users/PavelPolyakov/orgs","repos_url":"https://api.github.com/users/PavelPolyakov/repos","events_url":"https://api.github.com/users/PavelPolyakov/events{/privacy}","received_events_url":"https://api.github.com/users/PavelPolyakov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-07-26T12:57:40Z","updated_at":"2015-04-25T08:10:54Z","closed_at":"2015-04-25T08:10:54Z","body":"Hi there, \r\n\r\nThanks for the package. One question - how should I annotate the operation, so I point that it returns an array of Models ?\r\n\r\nI've tried to to the next:\r\n~~~\r\n* @SWG\\Api(\r\n*     path=\"/quests\",\r\n*     @SWG\\Operation(\r\n*         nickname=\"get.quests\",\r\n*         method=\"GET\",\r\n*         summary=\"List all the quests\",\r\n*         type=@SWG\\Items(type=\"User\"),\r\n*       @SWG\\ResponseMessages(\r\n*          @SWG\\ResponseMessage(\r\n*            code=200,\r\n*            message=\"Everything is ok\"\r\n*          )\r\n*       )\r\n*     )\r\n* )\r\n~~~\r\n\r\nBut it doesn't work.\r\n\r\nCould anyone give an example how should I annotate?\r\n\r\nRegards,"}}