diff --git a/protoc-gen-grpc-gateway/BUILD.bazel b/protoc-gen-grpc-gateway/BUILD.bazel index ca8998eaeb7..498e1fe56c1 100644 --- a/protoc-gen-grpc-gateway/BUILD.bazel +++ b/protoc-gen-grpc-gateway/BUILD.bazel @@ -24,10 +24,7 @@ go_binary( go_proto_compiler( name = "go_gen_grpc_gateway", - options = [ - "logtostderr=true", - "allow_repeated_fields_in_body=true", - ], + options = ["logtostderr=true"], plugin = ":protoc-gen-grpc-gateway", suffix = ".pb.gw.go", visibility = ["//visibility:public"], diff --git a/protoc-gen-openapiv2/defs.bzl b/protoc-gen-openapiv2/defs.bzl index 2ecb18716b6..25c8847b20b 100644 --- a/protoc-gen-openapiv2/defs.bzl +++ b/protoc-gen-openapiv2/defs.bzl @@ -75,7 +75,6 @@ def _run_proto_gen_openapi( args.add("--plugin", "protoc-gen-openapiv2=%s" % protoc_gen_openapiv2.path) args.add("--openapiv2_opt", "logtostderr=true") - args.add("--openapiv2_opt", "allow_repeated_fields_in_body=true") extra_inputs = [] if grpc_api_configuration: