From 77367ca9fde6e4b7382c03383c6f3d7c57f3ff80 Mon Sep 17 00:00:00 2001 From: Lubos Pokorny Date: Mon, 23 Nov 2020 09:33:41 +0100 Subject: [PATCH] Sets proper target type for openapi_configuration attr. --- protoc-gen-openapiv2/defs.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protoc-gen-openapiv2/defs.bzl b/protoc-gen-openapiv2/defs.bzl index 4b255fd3082..ea3226762a5 100644 --- a/protoc-gen-openapiv2/defs.bzl +++ b/protoc-gen-openapiv2/defs.bzl @@ -201,7 +201,7 @@ def _proto_gen_openapi_impl(ctx): disable_default_errors = ctx.attr.disable_default_errors, enums_as_ints = ctx.attr.enums_as_ints, simple_operation_ids = ctx.attr.simple_operation_ids, - openapi_configuration = ctx.attr.openapi_configuration, + openapi_configuration = ctx.file.openapi_configuration, generate_unbound_methods = ctx.attr.generate_unbound_methods, ), ),