You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like importing github.com/grpc-ecosystem/grpc-gateway/v2/runtime in the code makes buf return a warning. The warning that I receive looks like this:
...
protoc-gen-openapiv2/options/openapiv2.proto:719:7:symbol "grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry.key" already defined at vendor/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options/openapiv2.proto:719:7
protoc-gen-openapiv2/options/openapiv2.proto:719:15:symbol "grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry.value" already defined at vendor/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options/openapiv2.proto:719:15
protoc-gen-openapiv2/options/openapiv2.proto:719:23:symbol "grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry" already defined at vendor/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options/openapiv2.proto:719:23
protoc-gen-openapiv2/options/openapiv2.proto:719:23:symbol "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope" already defined at vendor/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options/openapiv2.proto:719:23
It looks like importing
github.com/grpc-ecosystem/grpc-gateway/v2/runtime
in the code makesbuf
return a warning. The warning that I receive looks like this:Is there any way to resolve this?
These are
buf.yaml
andbuf.gen.yaml
that I use:The text was updated successfully, but these errors were encountered: