-
-
Notifications
You must be signed in to change notification settings - Fork 379
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
Generate go-client from openapi #4490
base: main
Are you sure you want to change the base?
Conversation
28ad1fa
to
b692932
Compare
@anbraten I had to drop the entire history due to the pretty old merge commits, and I was not able to do a proper rebase to main. Sorry about this, if you are not ok with it please let me know! |
Yes, I'm aware of it. I would like to silence it for now and do the migration to the new go client in a dedicated PR? What do you think? |
sure just add a rule to the golint file ;) |
59c3c51
to
ad4f353
Compare
5ab795b
to
e79ec92
Compare
@qwerty287 This PR is not really breaking, is it? It does not remove the legacy client. |
I start to share the opinion from @lafriks #3053 (comment) The autogenerated sdk is really pain to use... No idea if we can improve this somehow, otherwise I also tend to stick to a handcrafted sdk. |
Had the same feeling while using this current approach as well. Mainly the syntax seems weird to me in general generated libs can be quite awesome to maintain and use. At least the generated types are quite nice already. |
Yes the types are nice but also have some issues e.g.
should be |
Looks like it can even lead to clashes... oapi-codegen/oapi-codegen#452 All in all Im not convinced. I think Ill stick to our maintained sdk. |
This is not the only lib to gen code ... If it has to many downsides, we might look for another lib that does the same ... |
So, #2691 can be closed then and removed from the 3.0 milestone? |
At least in my opinion its unlikely to be part of v3 and the release should not be blocked by it. |
Supersedes: #2691
closes #3053