-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Difference with kubernetes-client/gen #26
Comments
Most of the differences amount to this crate doing things specific to Kubernetes's OpenAPI spec that a generic swagger generator does not. Almost everything in https://github.com/Arnavion/k8s-openapi-codegen/blob/15777b259ac16cc4287da3ede50f62d3c4508be9/src/fixups.rs is what an automatic swagger-generated client gets wrong. You don't have to read the code, just read the comments.
|
Thanks for a very detailed answer! Does it mean that as official kubernetes-client/gen will get better at handling those issues this repo/crate will become obsolete? (Is there a chance that official gen will become better?) Separately |
That depends on the effort that that crate puts. You would have to ask its maintainers.
Yeah, sure. Also, thanks for reminding me about #17. I've updated my comment there. |
Information collected in |
Hi @Arnavion
As I was exploring available options for kubernetes clients for rust I found out that @ynqa in his ynqa/kubernetes-rust#10 is moving away from your library and tries to use https://github.com/kubernetes-client/gen
On the surface it seems like reinvention of the wheel, so I decided find out if there is substantial difference between kubernetes-client/gen and your approach and why kubernetes-client/gen might not want to accept a client that was not generated with their generator.
I believe that you did some kind of research before writing your own generator, so there must reason for that. Could you please share your perspective?
The text was updated successfully, but these errors were encountered: