Updated the tools/proto-annotation to exclude grpc.gateway package

Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
Benjamin Wang 2023-09-14 09:56:00 +01:00
parent 5444cdae69
commit d06cdfa1ee

View File

@ -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",
}
)