rules_proto_grpc/grpc-gateway/gateway_openapiv2_compile.bzl

25 lines
615 B
Python

"""Generated definition of gateway_openapiv2_compile."""
load(
"//:defs.bzl",
"ProtoPluginInfo",
"proto_compile_attrs",
"proto_compile_impl",
)
# Create compile rule
gateway_openapiv2_compile = rule(
implementation = proto_compile_impl,
attrs = dict(
proto_compile_attrs,
_plugins = attr.label_list(
providers = [ProtoPluginInfo],
default = [
Label("//grpc-gateway:openapiv2_plugin"),
],
doc = "List of protoc plugins to apply",
),
),
toolchains = [str(Label("//protobuf:toolchain_type"))],
)