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
protobuf git:(master) ✗ protoc -I/usr/local/include -I. \
-I$GOPATH/src \
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--go_out=Mgoogle/api/annotations.proto=github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/
api,plugins=grpc:. \
*.proto
heartbeat.proto:13:12: Option field "(google.api.http)" is not a field or extension of message "ServiceOptions".
How to fix this?
The text was updated successfully, but these errors were encountered:
@lei314121077 "google.api.http" is an extension of MethodOptions, not ServiceOptions. Make sure that your annotations are within the curly braces for an RPC method.
How to fix this?
The text was updated successfully, but these errors were encountered: