Skip to content

Commit

Permalink
Updated the tools/proto-annotation to exclude grpc.gateway package
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Wang <[email protected]>
  • Loading branch information
ahrtr committed Sep 18, 2023
1 parent 5444cda commit d06cdfa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tools/proto-annotations/cmd/etcd_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@ import (

var (
// externalPackages that are not expected to have etcd version annotation.
externalPackages = []string{"io.prometheus.client", "grpc.binarylog.v1", "google.protobuf", "google.rpc", "google.api", "raftpb",
externalPackages = []string{
"io.prometheus.client",
"grpc.binarylog.v1",
"google.protobuf",
"google.rpc",
"google.api",
"raftpb",
"grpc.gateway.protoc_gen_swagger.options",
"grpc.gateway.protoc_gen_openapiv2.options",
}
)

Expand Down

0 comments on commit d06cdfa

Please sign in to comment.