{"action":"closed","number":173,"pull_request":{"url":"https://api.github.com/repos/emicklei/go-restful/pulls/173","id":27196345,"html_url":"https://github.com/emicklei/go-restful/pull/173","diff_url":"https://github.com/emicklei/go-restful/pull/173.diff","patch_url":"https://github.com/emicklei/go-restful/pull/173.patch","issue_url":"https://api.github.com/repos/emicklei/go-restful/issues/173","number":173,"state":"closed","locked":false,"title":"Swagger items should be object","user":{"login":"m0sth8","id":470078,"avatar_url":"https://avatars.githubusercontent.com/u/470078?v=3","gravatar_id":"","url":"https://api.github.com/users/m0sth8","html_url":"https://github.com/m0sth8","followers_url":"https://api.github.com/users/m0sth8/followers","following_url":"https://api.github.com/users/m0sth8/following{/other_user}","gists_url":"https://api.github.com/users/m0sth8/gists{/gist_id}","starred_url":"https://api.github.com/users/m0sth8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0sth8/subscriptions","organizations_url":"https://api.github.com/users/m0sth8/orgs","repos_url":"https://api.github.com/users/m0sth8/repos","events_url":"https://api.github.com/users/m0sth8/events{/privacy}","received_events_url":"https://api.github.com/users/m0sth8/received_events","type":"User","site_admin":false},"body":"According to the documentation https://github.com/swagger-api/swagger-spec/blob/master/versions/1.2.md#434-items-object Items field should be object, not an array.\r\n\r\nAlso this PR fixes bug with slices, because []Address is equal []*Address in swagger representation","created_at":"2015-01-12T14:14:16Z","updated_at":"2015-01-13T20:24:41Z","closed_at":"2015-01-13T20:24:41Z","merged_at":"2015-01-13T20:24:41Z","merge_commit_sha":"b533abba0e118a95f28c0dc6e13a7157970a45f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emicklei/go-restful/pulls/173/commits","review_comments_url":"https://api.github.com/repos/emicklei/go-restful/pulls/173/comments","review_comment_url":"https://api.github.com/repos/emicklei/go-restful/pulls/comments/{number}","comments_url":"https://api.github.com/repos/emicklei/go-restful/issues/173/comments","statuses_url":"https://api.github.com/repos/emicklei/go-restful/statuses/a55bcd8b711411166692a0ed6e8b9836e88c1bad","head":{"label":"m0sth8:fix-arrays","ref":"fix-arrays","sha":"a55bcd8b711411166692a0ed6e8b9836e88c1bad","user":{"login":"m0sth8","id":470078,"avatar_url":"https://avatars.githubusercontent.com/u/470078?v=3","gravatar_id":"","url":"https://api.github.com/users/m0sth8","html_url":"https://github.com/m0sth8","followers_url":"https://api.github.com/users/m0sth8/followers","following_url":"https://api.github.com/users/m0sth8/following{/other_user}","gists_url":"https://api.github.com/users/m0sth8/gists{/gist_id}","starred_url":"https://api.github.com/users/m0sth8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0sth8/subscriptions","organizations_url":"https://api.github.com/users/m0sth8/orgs","repos_url":"https://api.github.com/users/m0sth8/repos","events_url":"https://api.github.com/users/m0sth8/events{/privacy}","received_events_url":"https://api.github.com/users/m0sth8/received_events","type":"User","site_admin":false},"repo":{"id":29137098,"name":"go-restful","full_name":"m0sth8/go-restful","owner":{"login":"m0sth8","id":470078,"avatar_url":"https://avatars.githubusercontent.com/u/470078?v=3","gravatar_id":"","url":"https://api.github.com/users/m0sth8","html_url":"https://github.com/m0sth8","followers_url":"https://api.github.com/users/m0sth8/followers","following_url":"https://api.github.com/users/m0sth8/following{/other_user}","gists_url":"https://api.github.com/users/m0sth8/gists{/gist_id}","starred_url":"https://api.github.com/users/m0sth8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0sth8/subscriptions","organizations_url":"https://api.github.com/users/m0sth8/orgs","repos_url":"https://api.github.com/users/m0sth8/repos","events_url":"https://api.github.com/users/m0sth8/events{/privacy}","received_events_url":"https://api.github.com/users/m0sth8/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m0sth8/go-restful","description":"package for building REST-style Web Services using Google Go","fork":true,"url":"https://api.github.com/repos/m0sth8/go-restful","forks_url":"https://api.github.com/repos/m0sth8/go-restful/forks","keys_url":"https://api.github.com/repos/m0sth8/go-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m0sth8/go-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m0sth8/go-restful/teams","hooks_url":"https://api.github.com/repos/m0sth8/go-restful/hooks","issue_events_url":"https://api.github.com/repos/m0sth8/go-restful/issues/events{/number}","events_url":"https://api.github.com/repos/m0sth8/go-restful/events","assignees_url":"https://api.github.com/repos/m0sth8/go-restful/assignees{/user}","branches_url":"https://api.github.com/repos/m0sth8/go-restful/branches{/branch}","tags_url":"https://api.github.com/repos/m0sth8/go-restful/tags","blobs_url":"https://api.github.com/repos/m0sth8/go-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m0sth8/go-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m0sth8/go-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/m0sth8/go-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m0sth8/go-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/m0sth8/go-restful/languages","stargazers_url":"https://api.github.com/repos/m0sth8/go-restful/stargazers","contributors_url":"https://api.github.com/repos/m0sth8/go-restful/contributors","subscribers_url":"https://api.github.com/repos/m0sth8/go-restful/subscribers","subscription_url":"https://api.github.com/repos/m0sth8/go-restful/subscription","commits_url":"https://api.github.com/repos/m0sth8/go-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/m0sth8/go-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/m0sth8/go-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/m0sth8/go-restful/issues/comments/{number}","contents_url":"https://api.github.com/repos/m0sth8/go-restful/contents/{+path}","compare_url":"https://api.github.com/repos/m0sth8/go-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m0sth8/go-restful/merges","archive_url":"https://api.github.com/repos/m0sth8/go-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m0sth8/go-restful/downloads","issues_url":"https://api.github.com/repos/m0sth8/go-restful/issues{/number}","pulls_url":"https://api.github.com/repos/m0sth8/go-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/m0sth8/go-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/m0sth8/go-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m0sth8/go-restful/labels{/name}","releases_url":"https://api.github.com/repos/m0sth8/go-restful/releases{/id}","created_at":"2015-01-12T13:40:34Z","updated_at":"2015-01-12T13:40:34Z","pushed_at":"2015-01-12T14:10:10Z","git_url":"git://github.com/m0sth8/go-restful.git","ssh_url":"git@github.com:m0sth8/go-restful.git","clone_url":"https://github.com/m0sth8/go-restful.git","svn_url":"https://github.com/m0sth8/go-restful","homepage":"","size":5795,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emicklei:master","ref":"master","sha":"2886c7c9261c778a69805f00eec160d6784d62f9","user":{"login":"emicklei","id":686220,"avatar_url":"https://avatars.githubusercontent.com/u/686220?v=3","gravatar_id":"","url":"https://api.github.com/users/emicklei","html_url":"https://github.com/emicklei","followers_url":"https://api.github.com/users/emicklei/followers","following_url":"https://api.github.com/users/emicklei/following{/other_user}","gists_url":"https://api.github.com/users/emicklei/gists{/gist_id}","starred_url":"https://api.github.com/users/emicklei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emicklei/subscriptions","organizations_url":"https://api.github.com/users/emicklei/orgs","repos_url":"https://api.github.com/users/emicklei/repos","events_url":"https://api.github.com/users/emicklei/events{/privacy}","received_events_url":"https://api.github.com/users/emicklei/received_events","type":"User","site_admin":false},"repo":{"id":6701057,"name":"go-restful","full_name":"emicklei/go-restful","owner":{"login":"emicklei","id":686220,"avatar_url":"https://avatars.githubusercontent.com/u/686220?v=3","gravatar_id":"","url":"https://api.github.com/users/emicklei","html_url":"https://github.com/emicklei","followers_url":"https://api.github.com/users/emicklei/followers","following_url":"https://api.github.com/users/emicklei/following{/other_user}","gists_url":"https://api.github.com/users/emicklei/gists{/gist_id}","starred_url":"https://api.github.com/users/emicklei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emicklei/subscriptions","organizations_url":"https://api.github.com/users/emicklei/orgs","repos_url":"https://api.github.com/users/emicklei/repos","events_url":"https://api.github.com/users/emicklei/events{/privacy}","received_events_url":"https://api.github.com/users/emicklei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emicklei/go-restful","description":"package for building REST-style Web Services using Google Go","fork":false,"url":"https://api.github.com/repos/emicklei/go-restful","forks_url":"https://api.github.com/repos/emicklei/go-restful/forks","keys_url":"https://api.github.com/repos/emicklei/go-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emicklei/go-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emicklei/go-restful/teams","hooks_url":"https://api.github.com/repos/emicklei/go-restful/hooks","issue_events_url":"https://api.github.com/repos/emicklei/go-restful/issues/events{/number}","events_url":"https://api.github.com/repos/emicklei/go-restful/events","assignees_url":"https://api.github.com/repos/emicklei/go-restful/assignees{/user}","branches_url":"https://api.github.com/repos/emicklei/go-restful/branches{/branch}","tags_url":"https://api.github.com/repos/emicklei/go-restful/tags","blobs_url":"https://api.github.com/repos/emicklei/go-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emicklei/go-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emicklei/go-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/emicklei/go-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emicklei/go-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/emicklei/go-restful/languages","stargazers_url":"https://api.github.com/repos/emicklei/go-restful/stargazers","contributors_url":"https://api.github.com/repos/emicklei/go-restful/contributors","subscribers_url":"https://api.github.com/repos/emicklei/go-restful/subscribers","subscription_url":"https://api.github.com/repos/emicklei/go-restful/subscription","commits_url":"https://api.github.com/repos/emicklei/go-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/emicklei/go-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/emicklei/go-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/emicklei/go-restful/issues/comments/{number}","contents_url":"https://api.github.com/repos/emicklei/go-restful/contents/{+path}","compare_url":"https://api.github.com/repos/emicklei/go-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emicklei/go-restful/merges","archive_url":"https://api.github.com/repos/emicklei/go-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emicklei/go-restful/downloads","issues_url":"https://api.github.com/repos/emicklei/go-restful/issues{/number}","pulls_url":"https://api.github.com/repos/emicklei/go-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/emicklei/go-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/emicklei/go-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emicklei/go-restful/labels{/name}","releases_url":"https://api.github.com/repos/emicklei/go-restful/releases{/id}","created_at":"2012-11-15T07:31:43Z","updated_at":"2015-01-13T18:21:56Z","pushed_at":"2015-01-13T20:24:41Z","git_url":"git://github.com/emicklei/go-restful.git","ssh_url":"git@github.com:emicklei/go-restful.git","clone_url":"https://github.com/emicklei/go-restful.git","svn_url":"https://github.com/emicklei/go-restful","homepage":"","size":7112,"stargazers_count":816,"watchers_count":816,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":14,"forks":107,"open_issues":14,"watchers":816,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emicklei/go-restful/pulls/173"},"html":{"href":"https://github.com/emicklei/go-restful/pull/173"},"issue":{"href":"https://api.github.com/repos/emicklei/go-restful/issues/173"},"comments":{"href":"https://api.github.com/repos/emicklei/go-restful/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/emicklei/go-restful/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/emicklei/go-restful/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/emicklei/go-restful/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/emicklei/go-restful/statuses/a55bcd8b711411166692a0ed6e8b9836e88c1bad"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"emicklei","id":686220,"avatar_url":"https://avatars.githubusercontent.com/u/686220?v=3","gravatar_id":"","url":"https://api.github.com/users/emicklei","html_url":"https://github.com/emicklei","followers_url":"https://api.github.com/users/emicklei/followers","following_url":"https://api.github.com/users/emicklei/following{/other_user}","gists_url":"https://api.github.com/users/emicklei/gists{/gist_id}","starred_url":"https://api.github.com/users/emicklei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emicklei/subscriptions","organizations_url":"https://api.github.com/users/emicklei/orgs","repos_url":"https://api.github.com/users/emicklei/repos","events_url":"https://api.github.com/users/emicklei/events{/privacy}","received_events_url":"https://api.github.com/users/emicklei/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":89,"deletions":54,"changed_files":4}}