OS Manuals

/usr/bin/protoc-gen-grpc-gateway

Protocol Buffer compiler plugin for generating gRPC HTTP gateways

From protoc-gen-grpc-gateway 2.33.0-r1 (enterprise-packages), captured 2026-11-08 by running protoc-gen-grpc-gateway --help (exit 0). permalink

Usage of /usr/bin/protoc-gen-grpc-gateway:
  -allow_delete_body
    	unless set, HTTP DELETE methods may not have a body
  -allow_patch_feature
    	determines whether to use PATCH feature involving update masks (using google.protobuf.FieldMask). (default true)
  -allow_repeated_fields_in_body body
    	allows to use repeated field in body and `response_body` field of `google.api.http` annotation option. DEPRECATED: the value is ignored and always behaves as `true`. (default true)
  -generate_unbound_methods
    	generate proxy methods even for RPC methods that have no HttpRule annotation
  -grpc_api_configuration string
    	path to gRPC API Configuration in YAML format
  -logtostderr
    	Legacy glog compatibility. This flag is a no-op, you can safely remove it
  -omit_package_doc
    	if true, no package comment will be included in the generated code
  -register_func_suffix string
    	used to construct names of generated Register*<Suffix> methods. (default "Handler")
  -repeated_path_param_separator csv
    	configures how repeated fields should be split. Allowed values are csv, `pipes`, `ssv` and `tsv`. (default "csv")
  -request_context
    	determine whether to use http.Request's context or not (default true)
  -standalone
    	generates a standalone gateway package, which imports the target service package
  -strict_deep_wildcard
    	if true, a deep wildcard (**) preceded by a segment must match at least one path segment, e.g. /v1/files/{path=**} no longer matches /v1/files
  -use_opaque_api
    	generate code compatible with the new Opaque API instead of the older Open Struct API
  -version
    	print the current version
  -warn_on_unbound_methods
    	emit a warning message if an RPC method has no HttpRule annotation
Options (15)
OptionDescriptionSource
-allow_delete_bodyunless set, HTTP DELETE methods may not have a bodyhelp
-allow_patch_featuredetermines whether to use PATCH feature involving update masks (using google.protobuf.FieldMask).help
-allow_repeated_fields_in_body bodyallows to use repeated field in body and `response_body` field of `google.api.http` annotation option.help
-generate_unbound_methodsgenerate proxy methods even for RPC methods that have no HttpRule annotationhelp
-grpc_api_configuration stringpath to gRPC API Configuration in YAML formathelp
-logtostderrLegacy glog compatibility.help
-omit_package_docif true, no package comment will be included in the generated codehelp
-register_func_suffix stringused to construct names of generated Register*<Suffix> methods.help
-repeated_path_param_separator csvconfigures how repeated fields should be split.help
-request_contextdetermine whether to use http.Request's context or not (default true)help
-standalonegenerates a standalone gateway package, which imports the target service packagehelp
-strict_deep_wildcardif true, a deep wildcard (**) preceded by a segment must match at least one path segment, e.g. /v1/files/{path=**} no longer matches /v1/fileshelp
-use_opaque_apigenerate code compatible with the new Opaque API instead of the older Open Struct APIhelp
-versionprint the current versionhelp
-warn_on_unbound_methodsemit a warning message if an RPC method has no HttpRule annotationhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.