Skip to content

Commit

Permalink
Update protoc-gen-openapiv2/defs.bzl
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
500poundbear and coderabbitai[bot] committed Nov 27, 2023
1 parent a0fb324 commit 8149a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protoc-gen-openapiv2/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _run_proto_gen_openapi(
if use_go_templates:
args.add("--openapiv2_opt", "use_go_templates=true")

if go_template_arg in go_template_args:
for go_template_arg in go_template_args:
args.add("--openapiv2_opt", "go_template_args=%s" % go_template_arg)

if ignore_comments:
Expand Down

0 comments on commit 8149a06

Please sign in to comment.