{"action":"created","issue":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1227","repository_url":"https://api.github.com/repos/kubevirt/kubevirt","labels_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1227/labels{/name}","comments_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1227/comments","events_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1227/events","html_url":"https://github.com/kubevirt/kubevirt/issues/1227","id":335752836,"node_id":"MDU6SXNzdWUzMzU3NTI4MzY=","number":1227,"title":"Completely switch to openapi-gen from k8s","user":{"login":"rmohr","id":4534621,"node_id":"MDQ6VXNlcjQ1MzQ2MjE=","avatar_url":"https://avatars3.githubusercontent.com/u/4534621?v=4","gravatar_id":"","url":"https://api.github.com/users/rmohr","html_url":"https://github.com/rmohr","followers_url":"https://api.github.com/users/rmohr/followers","following_url":"https://api.github.com/users/rmohr/following{/other_user}","gists_url":"https://api.github.com/users/rmohr/gists{/gist_id}","starred_url":"https://api.github.com/users/rmohr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmohr/subscriptions","organizations_url":"https://api.github.com/users/rmohr/orgs","repos_url":"https://api.github.com/users/rmohr/repos","events_url":"https://api.github.com/users/rmohr/events{/privacy}","received_events_url":"https://api.github.com/users/rmohr/received_events","type":"User","site_admin":false},"labels":[{"id":502265367,"node_id":"MDU6TGFiZWw1MDIyNjUzNjc=","url":"https://api.github.com/repos/kubevirt/kubevirt/labels/kind/enhancement","name":"kind/enhancement","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"lukas-bednar","id":1505684,"node_id":"MDQ6VXNlcjE1MDU2ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1505684?v=4","gravatar_id":"","url":"https://api.github.com/users/lukas-bednar","html_url":"https://github.com/lukas-bednar","followers_url":"https://api.github.com/users/lukas-bednar/followers","following_url":"https://api.github.com/users/lukas-bednar/following{/other_user}","gists_url":"https://api.github.com/users/lukas-bednar/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas-bednar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas-bednar/subscriptions","organizations_url":"https://api.github.com/users/lukas-bednar/orgs","repos_url":"https://api.github.com/users/lukas-bednar/repos","events_url":"https://api.github.com/users/lukas-bednar/events{/privacy}","received_events_url":"https://api.github.com/users/lukas-bednar/received_events","type":"User","site_admin":false},"assignees":[{"login":"lukas-bednar","id":1505684,"node_id":"MDQ6VXNlcjE1MDU2ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1505684?v=4","gravatar_id":"","url":"https://api.github.com/users/lukas-bednar","html_url":"https://github.com/lukas-bednar","followers_url":"https://api.github.com/users/lukas-bednar/followers","following_url":"https://api.github.com/users/lukas-bednar/following{/other_user}","gists_url":"https://api.github.com/users/lukas-bednar/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas-bednar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas-bednar/subscriptions","organizations_url":"https://api.github.com/users/lukas-bednar/orgs","repos_url":"https://api.github.com/users/lukas-bednar/repos","events_url":"https://api.github.com/users/lukas-bednar/events{/privacy}","received_events_url":"https://api.github.com/users/lukas-bednar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-26T10:21:02Z","updated_at":"2018-07-18T08:06:34Z","closed_at":null,"author_association":"MEMBER","body":"**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n/kind enhancement\r\n\r\n\r\n**What happened**:\r\n\r\nRight now we still use `https://github.com/rmohr/go-swagger-utils` to generate go-restful structs for swagger.\r\n\r\n**What you expected to happen**:\r\n\r\n Instead of that, we can now completely switch to `https://github.com/kubernetes/code-generator/tree/master/cmd/openapi-gen`.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\n\r\n**Anything else we need to know?**:\r\n\r\nIn order to make this work, do:\r\n\r\n1) Use `builder.BuildOpenAPISpec` to build the spec based on go-restful\r\n2) this function requires a config. This config needs to contain the object definitions of our types (they are already generated with openapi-gen).\r\n3) During code-generation, dump the resulting spec as json\r\n4) Install the generated docs to a go-restful endpoint (wiring code exists in vendoring too)"},"comment":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/comments/405846407","html_url":"https://github.com/kubevirt/kubevirt/issues/1227#issuecomment-405846407","issue_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1227","id":405846407,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTg0NjQwNw==","user":{"login":"pkliczewski","id":1384786,"node_id":"MDQ6VXNlcjEzODQ3ODY=","avatar_url":"https://avatars1.githubusercontent.com/u/1384786?v=4","gravatar_id":"","url":"https://api.github.com/users/pkliczewski","html_url":"https://github.com/pkliczewski","followers_url":"https://api.github.com/users/pkliczewski/followers","following_url":"https://api.github.com/users/pkliczewski/following{/other_user}","gists_url":"https://api.github.com/users/pkliczewski/gists{/gist_id}","starred_url":"https://api.github.com/users/pkliczewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkliczewski/subscriptions","organizations_url":"https://api.github.com/users/pkliczewski/orgs","repos_url":"https://api.github.com/users/pkliczewski/repos","events_url":"https://api.github.com/users/pkliczewski/events{/privacy}","received_events_url":"https://api.github.com/users/pkliczewski/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T08:06:34Z","updated_at":"2018-07-18T08:06:34Z","author_association":"MEMBER","body":"@rmohr @fabiand Can we give it a bit of priority it blocks https://github.com/candlepin/virt-who/pull/155 with this [issue](https://github.com/kubevirt/client-python/issues/23)?"}}
{"actor":{"display_login":"pkliczewski"}}