Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
91ecb14
fix(gengateway): honor opaque setters
kellen-miller Jan 7, 2026
2b92e8b
test(gengateway): cover opaque enum path params
kellen-miller Jan 7, 2026
ce80ff3
test(gengateway): cover opaque path params generically
kellen-miller Jan 8, 2026
ff11551
test(tests): improve formatting consistency and simplify parallel tes…
kellen-miller Jan 8, 2026
957356c
refactor(descriptor): simplify opaqueOwnerExpr
kellen-miller Jan 8, 2026
6e69990
fix(format): revert accidental ide formatting changes
kellen-miller Jan 12, 2026
d5d503c
refactor(examples): add example of opaque api with nested enum params…
kellen-miller Jan 12, 2026
ccb5ebd
chore: update Bazel deps, regen swagger, and fix opaque proto format
kellen-miller Jan 16, 2026
39715cb
chore: rebase onto latest main and regenerate examples
kellen-miller Jan 20, 2026
76d7d8f
feat(generator): harden opaque imports and casing
kellen-miller Jan 26, 2026
9500065
cleanup(proto): remove unused proto, fix import order, and update dep…
kellen-miller Jan 26, 2026
1781f94
fix(proto): reorder imports in example protos to match Go conventions
kellen-miller Jan 26, 2026
80aca5b
cleanup(proto): remove unused generated files from example protos
kellen-miller Jan 26, 2026
21c18f2
cleanup(proto): remove unused opaque_body_import proto files and refe…
kellen-miller Jan 26, 2026
b9cfd9e
feat(proto): add `OpaquePatchProductName` request/response types and …
kellen-miller Jan 26, 2026
307b564
Remove unused proto definitions and streamline dependencies
kellen-miller Jan 26, 2026
aac5214
cleanup(proto): remove unused `opaque_body_import` references from `b…
kellen-miller Jan 26, 2026
7f670c1
Merge branch 'fix-opaqueapi-patch-enum' into fix-opaque-missing-impor…
kellen-miller Jan 30, 2026
2de59b6
fix(generator): gate opaque body imports
kellen-miller Jan 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ lint:
ignore_only:
DIRECTORY_SAME_PACKAGE:
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/camel_case_service.proto
- examples/internal/proto/examplepb/echo_service.proto
- examples/internal/proto/examplepb/enum_with_single_value.proto
- examples/internal/proto/examplepb/flow_combination.proto
Expand All @@ -29,6 +30,8 @@ lint:
- examples/internal/proto/examplepb/ignore_comment.proto
- examples/internal/proto/examplepb/remove_internal_comment.proto
- examples/internal/proto/examplepb/wrappers.proto
ENUM_PASCAL_CASE:
- examples/internal/proto/sub/camel_case_message.proto
ENUM_VALUE_PREFIX:
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/response_body_service.proto
Expand All @@ -49,9 +52,12 @@ lint:
- examples/internal/proto/examplepb/non_standard_names.proto
- runtime/internal/examplepb/example.proto
- runtime/internal/examplepb/non_standard_names.proto
MESSAGE_PASCAL_CASE:
- examples/internal/proto/sub/camel_case_message.proto
PACKAGE_DIRECTORY_MATCH:
- examples/internal/helloworld/helloworld.proto
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/camel_case_service.proto
- examples/internal/proto/examplepb/echo_service.proto
- examples/internal/proto/examplepb/enum_with_single_value.proto
- examples/internal/proto/examplepb/flow_combination.proto
Expand All @@ -72,6 +78,7 @@ lint:
- examples/internal/proto/examplepb/wrappers.proto
- examples/internal/proto/oneofenum/oneof_enum.proto
- examples/internal/proto/pathenum/path_enum.proto
- examples/internal/proto/sub/camel_case_message.proto
- examples/internal/proto/sub/message.proto
- examples/internal/proto/sub2/message.proto
- internal/descriptor/apiconfig/apiconfig.proto
Expand All @@ -84,6 +91,7 @@ lint:
- runtime/internal/examplepb/proto3.proto
PACKAGE_SAME_GO_PACKAGE:
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/camel_case_service.proto
- examples/internal/proto/examplepb/echo_service.proto
- examples/internal/proto/examplepb/enum_with_single_value.proto
- examples/internal/proto/examplepb/flow_combination.proto
Expand All @@ -107,6 +115,7 @@ lint:
PACKAGE_VERSION_SUFFIX:
- examples/internal/helloworld/helloworld.proto
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/camel_case_service.proto
- examples/internal/proto/examplepb/echo_service.proto
- examples/internal/proto/examplepb/enum_with_single_value.proto
- examples/internal/proto/examplepb/flow_combination.proto
Expand All @@ -127,6 +136,7 @@ lint:
- examples/internal/proto/examplepb/wrappers.proto
- examples/internal/proto/oneofenum/oneof_enum.proto
- examples/internal/proto/pathenum/path_enum.proto
- examples/internal/proto/sub/camel_case_message.proto
- examples/internal/proto/sub/message.proto
- examples/internal/proto/sub2/message.proto
- internal/descriptor/apiconfig/apiconfig.proto
Expand All @@ -137,6 +147,8 @@ lint:
- runtime/internal/examplepb/non_standard_names.proto
- runtime/internal/examplepb/proto2.proto
- runtime/internal/examplepb/proto3.proto
RPC_PASCAL_CASE:
- examples/internal/proto/examplepb/camel_case_service.proto
RPC_REQUEST_RESPONSE_UNIQUE:
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/echo_service.proto
Expand Down Expand Up @@ -190,9 +202,11 @@ lint:
- runtime/internal/examplepb/non_standard_names.proto
SERVICE_PASCAL_CASE:
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/camel_case_service.proto
SERVICE_SUFFIX:
- examples/internal/helloworld/helloworld.proto
- examples/internal/proto/examplepb/a_bit_of_everything.proto
- examples/internal/proto/examplepb/camel_case_service.proto
- examples/internal/proto/examplepb/flow_combination.proto
- examples/internal/proto/examplepb/openapi_merge_a.proto
- examples/internal/proto/examplepb/openapi_merge_b.proto
Expand Down
5 changes: 5 additions & 0 deletions examples/internal/proto/examplepb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ package(default_visibility = ["//visibility:public"])

# gazelle:exclude a_bit_of_everything.pb.gw.go
# gazelle:exclude a_bit_of_everything_grpc.pb.go
# gazelle:exclude camel_case_service.pb.gw.go
# gazelle:exclude camel_case_service_grpc.pb.go
# gazelle:exclude echo_service.pb.gw.go
# gazelle:exclude echo_service_grpc.pb.go
# gazelle:exclude enum_with_single_value.pb.gw.go
Expand Down Expand Up @@ -56,6 +58,7 @@ proto_library(
name = "examplepb_proto",
srcs = [
"a_bit_of_everything.proto",
"camel_case_service.proto",
"echo_service.proto",
"enum_with_single_value.proto",
"excess_body.proto",
Expand Down Expand Up @@ -99,6 +102,7 @@ proto_library(
"opaque.proto",
],
deps = [
"//examples/internal/proto/sub:sub_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:field_mask_proto",
"@com_google_protobuf//:timestamp_proto",
Expand Down Expand Up @@ -158,6 +162,7 @@ go_proto_library(
importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/examplepb",
proto = ":examplepb_opaque_proto",
deps = [
"//examples/internal/proto/sub",
"@com_github_golang_protobuf//descriptor:go_default_library_gen",
"@org_golang_google_genproto_googleapis_api//annotations",
],
Expand Down
Loading
Loading