{"action":"created","issue":{"url":"https://api.github.com/repos/zircote/swagger-php/issues/486","repository_url":"https://api.github.com/repos/zircote/swagger-php","labels_url":"https://api.github.com/repos/zircote/swagger-php/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/zircote/swagger-php/issues/486/comments","events_url":"https://api.github.com/repos/zircote/swagger-php/issues/486/events","html_url":"https://github.com/zircote/swagger-php/issues/486","id":289267593,"number":486,"title":"Array of objects as param","user":{"login":"FabianPiconeDev","id":4472725,"avatar_url":"https://avatars2.githubusercontent.com/u/4472725?v=4","gravatar_id":"","url":"https://api.github.com/users/FabianPiconeDev","html_url":"https://github.com/FabianPiconeDev","followers_url":"https://api.github.com/users/FabianPiconeDev/followers","following_url":"https://api.github.com/users/FabianPiconeDev/following{/other_user}","gists_url":"https://api.github.com/users/FabianPiconeDev/gists{/gist_id}","starred_url":"https://api.github.com/users/FabianPiconeDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabianPiconeDev/subscriptions","organizations_url":"https://api.github.com/users/FabianPiconeDev/orgs","repos_url":"https://api.github.com/users/FabianPiconeDev/repos","events_url":"https://api.github.com/users/FabianPiconeDev/events{/privacy}","received_events_url":"https://api.github.com/users/FabianPiconeDev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-17T13:34:09Z","updated_at":"2018-03-22T13:15:18Z","closed_at":"2018-03-22T13:15:18Z","author_association":"NONE","body":"I am using version ^2.0.\r\nI want to submit an array of objects. The following notation does not work:\r\n\r\n    *     @SWG\\Parameter(\r\n    *          name=\"foo\",\r\n    *          in=\"query\",\r\n    *          required=true,\r\n    *          type=\"array\",\r\n    *          @SWG\\Items(\r\n    *              type=\"object\",\r\n    *              @SWG\\Property(\r\n    *                  property=\"id\",\r\n    *                  type=\"string\"\r\n    *              ),\r\n    *              @SWG\\Property(\r\n    *                  property=\"position\",\r\n    *                  type=\"string\"\r\n    *              )\r\n    *          )\r\n    *     ),\r\n\r\nThis error is thrown:\r\n\r\n    User Notice: @SWG\\Items()->type=\"object\" not allowed inside a @SWG\\Parameter() \r\n    must be \"string\", \"number\", \"integer\", \"boolean\", \"array\" in D:\\...\r\n\r\nI could do an array of json strings, but i dont like this idea. Is there any other solution?"},"comment":{"url":"https://api.github.com/repos/zircote/swagger-php/issues/comments/375301531","html_url":"https://github.com/zircote/swagger-php/issues/486#issuecomment-375301531","issue_url":"https://api.github.com/repos/zircote/swagger-php/issues/486","id":375301531,"user":{"login":"FabianPiconeDev","id":4472725,"avatar_url":"https://avatars2.githubusercontent.com/u/4472725?v=4","gravatar_id":"","url":"https://api.github.com/users/FabianPiconeDev","html_url":"https://github.com/FabianPiconeDev","followers_url":"https://api.github.com/users/FabianPiconeDev/followers","following_url":"https://api.github.com/users/FabianPiconeDev/following{/other_user}","gists_url":"https://api.github.com/users/FabianPiconeDev/gists{/gist_id}","starred_url":"https://api.github.com/users/FabianPiconeDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabianPiconeDev/subscriptions","organizations_url":"https://api.github.com/users/FabianPiconeDev/orgs","repos_url":"https://api.github.com/users/FabianPiconeDev/repos","events_url":"https://api.github.com/users/FabianPiconeDev/events{/privacy}","received_events_url":"https://api.github.com/users/FabianPiconeDev/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T13:15:18Z","updated_at":"2018-03-22T13:15:18Z","author_association":"NONE","body":"Thanks for your reply/solution."}}
{"actor":{"display_login":"FabianPiconeDev"}}