{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15757","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15757/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15757/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15757/events","html_url":"https://github.com/kubernetes/kubernetes/pull/15757","id":111751289,"number":15757,"title":"Updating run-gen-swagger-docs to generate docs for extension resources","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/cherrypick-candidate","name":"cherrypick-candidate","color":"fef2c0"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XXL","name":"size/XXL","color":"ee0000"}],"state":"open","locked":false,"assignee":{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-10-16T03:27:24Z","updated_at":"2015-10-16T06:13:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/15757","html_url":"https://github.com/kubernetes/kubernetes/pull/15757","diff_url":"https://github.com/kubernetes/kubernetes/pull/15757.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/15757.patch"},"body":"Ref https://github.com/kubernetes/kubernetes/issues/13883\r\n\r\ncc @caesarxuchao @bgrant0607 "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/148620178","html_url":"https://github.com/kubernetes/kubernetes/pull/15757#issuecomment-148620178","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15757","id":148620178,"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},"created_at":"2015-10-16T06:13:38Z","updated_at":"2015-10-16T06:13:38Z","body":"After discussion with @caesarxuchao:\r\n* Menu generation is hardcoded for v1. If we generate separate files for v1 and v1beta1 resources (which is easy), we will get the menu in v1 file, but not in v1beta1.\r\n* But if we generate separate files for v1 and v1beta1, then links to v1 resources in the v1beta1 file will stop working.\r\nSo if we keep same file, then we loose the menu (index).\r\nIf we generate separate files, then links to v1 resources in v1beta1 file wont work.\r\n\r\nRe: links in operations.html not working: They are also hardcoded for v1. They work fine for v1, but are broken for v1beta1.\r\n\r\n@caesarxuchao is going to try to fix the code tomorrow."}}