-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
compile error (unstructured.go:64:38: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to proto.NewOpenAPIData) #1313
Comments
Hi, I used client-go 0.28.3 with but then i have other problem that the swagger which is generated is corrupted
|
I also have an issue like this
Is there any workarounds? |
reverted to |
|
I am facing the same issue client-go v1.28.1, can anyone help me out ? |
Using
|
Upgrading old and new packages can also solve: # go get github.com/google/gnostic && go get github.com/google/gnostic-models
go: upgraded github.com/google/gnostic v0.6.9 => v0.7.0
go: upgraded github.com/google/gnostic-models v0.6.8 => v0.6.9-0.20230804172637-c7be7c783f49 |
Sorry to revive this. I am using client-go with the e2e-framework (to write tests). When I compile my code, I am stuck on this error:
And after Googling, I found a ticket that references this as a workaround:
#1075 (comment)
But what exactly is one supposed to do to make it run? I did try updating my dependencies to the latest client-go (even though that's not what I want), but that did not help either.
The text was updated successfully, but these errors were encountered: