{"action":"created","issue":{"url":"https://api.github.com/repos/kleijnweb/swagger-bundle/issues/29","labels_url":"https://api.github.com/repos/kleijnweb/swagger-bundle/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/kleijnweb/swagger-bundle/issues/29/comments","events_url":"https://api.github.com/repos/kleijnweb/swagger-bundle/issues/29/events","html_url":"https://github.com/kleijnweb/swagger-bundle/issues/29","id":106482147,"number":29,"title":"Address object vs array problem with JsonSchema","user":{"login":"kleijnweb","id":8375560,"avatar_url":"https://avatars.githubusercontent.com/u/8375560?v=3","gravatar_id":"","url":"https://api.github.com/users/kleijnweb","html_url":"https://github.com/kleijnweb","followers_url":"https://api.github.com/users/kleijnweb/followers","following_url":"https://api.github.com/users/kleijnweb/following{/other_user}","gists_url":"https://api.github.com/users/kleijnweb/gists{/gist_id}","starred_url":"https://api.github.com/users/kleijnweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleijnweb/subscriptions","organizations_url":"https://api.github.com/users/kleijnweb/orgs","repos_url":"https://api.github.com/users/kleijnweb/repos","events_url":"https://api.github.com/users/kleijnweb/events{/privacy}","received_events_url":"https://api.github.com/users/kleijnweb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kleijnweb/swagger-bundle/labels/TODO","name":"TODO","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T05:26:00Z","updated_at":"2015-09-19T05:41:33Z","closed_at":"2015-09-19T05:41:33Z","body":"Controllers get passed arrays by default, JsonSchema needs \\stdClass objects for data validation.\r\n\r\nRecursive conversion is currently hacked by using `json_decode(json_encode($schema))`. Address this properly:\r\n\r\n1. Optionally let controllers receive instances of \\stdClass instead of arrays, eliminating the need for conversion altogether.\r\n\r\n2. When conversion is inevitable, use lightweight recursive function.\r\n\r\nRelates to #24 "},"comment":{"url":"https://api.github.com/repos/kleijnweb/swagger-bundle/issues/comments/141623195","html_url":"https://github.com/kleijnweb/swagger-bundle/issues/29#issuecomment-141623195","issue_url":"https://api.github.com/repos/kleijnweb/swagger-bundle/issues/29","id":141623195,"user":{"login":"kleijnweb","id":8375560,"avatar_url":"https://avatars.githubusercontent.com/u/8375560?v=3","gravatar_id":"","url":"https://api.github.com/users/kleijnweb","html_url":"https://github.com/kleijnweb","followers_url":"https://api.github.com/users/kleijnweb/followers","following_url":"https://api.github.com/users/kleijnweb/following{/other_user}","gists_url":"https://api.github.com/users/kleijnweb/gists{/gist_id}","starred_url":"https://api.github.com/users/kleijnweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleijnweb/subscriptions","organizations_url":"https://api.github.com/users/kleijnweb/orgs","repos_url":"https://api.github.com/users/kleijnweb/repos","events_url":"https://api.github.com/users/kleijnweb/events{/privacy}","received_events_url":"https://api.github.com/users/kleijnweb/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T05:41:33Z","updated_at":"2015-09-19T05:41:33Z","body":"Problem changed shape but partially addressed (at least point `1`)."}}