Skip to content

Commit 6ea8b3d

Browse files
committed
update protoc-gen-openapiv2/internal/genopenapi/BUILD.bazel
Signed-off-by: aimuz <[email protected]>
1 parent db71874 commit 6ea8b3d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

protoc-gen-openapiv2/internal/genopenapi/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ go_library(
2020
"//internal/descriptor",
2121
"//internal/generator",
2222
"//protoc-gen-openapiv2/options",
23-
"@com_github_golang_protobuf//descriptor:go_default_library_gen",
24-
"@com_github_golang_protobuf//ptypes/any",
2523
"@in_gopkg_yaml_v3//:yaml_v3",
2624
"@org_golang_google_genproto_googleapis_api//annotations",
2725
"@org_golang_google_genproto_googleapis_api//visibility",
2826
"@org_golang_google_genproto_googleapis_rpc//status",
2927
"@org_golang_google_grpc//grpclog",
3028
"@org_golang_google_protobuf//encoding/protojson",
3129
"@org_golang_google_protobuf//proto",
30+
"@org_golang_google_protobuf//reflect/protodesc",
3231
"@org_golang_google_protobuf//types/descriptorpb",
32+
"@org_golang_google_protobuf//types/known/anypb",
3333
"@org_golang_google_protobuf//types/known/structpb",
3434
"@org_golang_google_protobuf//types/pluginpb",
3535
"@org_golang_x_text//cases",

protoc-gen-openapiv2/internal/genopenapi/generator.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ func mergeTargetFile(targets []*wrapper, mergeFileName string) *wrapper {
7171
return mergedTarget
7272
}
7373

74-
// MarshalJSON ...
7574
// Q: What's up with the alias types here?
7675
// A: We don't want to completely override how these structs are marshaled into
7776
// JSON, we only want to add fields (see below, extensionMarshalJSON).

0 commit comments

Comments
 (0)