{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13414","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13414/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13414/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13414/events","html_url":"https://github.com/kubernetes/kubernetes/issues/13414","id":104152759,"number":13414,"title":"Generate 2.0 swagger spec","user":{"login":"nikhiljindal","id":10199099,"avatar_url":"https://avatars.githubusercontent.com/u/10199099?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhiljindal","html_url":"https://github.com/nikhiljindal","followers_url":"https://api.github.com/users/nikhiljindal/followers","following_url":"https://api.github.com/users/nikhiljindal/following{/other_user}","gists_url":"https://api.github.com/users/nikhiljindal/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhiljindal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhiljindal/subscriptions","organizations_url":"https://api.github.com/users/nikhiljindal/orgs","repos_url":"https://api.github.com/users/nikhiljindal/repos","events_url":"https://api.github.com/users/nikhiljindal/events{/privacy}","received_events_url":"https://api.github.com/users/nikhiljindal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/swagger","name":"area/swagger","color":"d4c5f9"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/help-wanted","name":"help-wanted","color":"006b75"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/CSI","name":"team/CSI","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-31T23:23:04Z","updated_at":"2015-11-13T19:49:16Z","closed_at":null,"body":"Our swagger spec is as per v1.2.\r\nWe need to move to v2.0.\r\n\r\nWe use https://github.com/emicklei/go-restful to generate our swagger spec, which generates 1.2 spec.\r\nhttps://github.com/emicklei/go-restful/issues/157 tracks updating it to generate 2.0 spec.\r\n\r\ncc @bgrant0607 "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/156539914","html_url":"https://github.com/kubernetes/kubernetes/issues/13414#issuecomment-156539914","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13414","id":156539914,"user":{"login":"paralin","id":534887,"avatar_url":"https://avatars.githubusercontent.com/u/534887?v=3","gravatar_id":"","url":"https://api.github.com/users/paralin","html_url":"https://github.com/paralin","followers_url":"https://api.github.com/users/paralin/followers","following_url":"https://api.github.com/users/paralin/following{/other_user}","gists_url":"https://api.github.com/users/paralin/gists{/gist_id}","starred_url":"https://api.github.com/users/paralin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paralin/subscriptions","organizations_url":"https://api.github.com/users/paralin/orgs","repos_url":"https://api.github.com/users/paralin/repos","events_url":"https://api.github.com/users/paralin/events{/privacy}","received_events_url":"https://api.github.com/users/paralin/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T19:49:16Z","updated_at":"2015-11-13T19:49:16Z","body":"@nikhiljindal Tricky. I think it probably only supports spec -> code. Might have to just focus on updating go-restful unless there's some other solution here\r\n"}}