From 1a8a414d711ceb3f15ca46a330d55a1fc0d75116 Mon Sep 17 00:00:00 2001 From: Omri Bornstein Date: Wed, 29 Nov 2023 21:31:35 +1100 Subject: [PATCH] use remote buf plugins --- buf.gen.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/buf.gen.yaml b/buf.gen.yaml index 66fed56..c42dbd6 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -1,17 +1,20 @@ # yaml-language-server: $schema=https://json.schemastore.org/buf.gen.json version: v1 plugins: - - plugin: go + # - plugin: go + - plugin: buf.build/protocolbuffers/go out: gen/go opt: paths=source_relative - - name: go-grpc + # - name: go-grpc + - plugin: buf.build/grpc/go out: gen/go - opt: - - paths=source_relative - - name: grpc-gateway + opt: paths=source_relative + # - name: grpc-gateway + - plugin: buf.build/grpc-ecosystem/gateway out: gen/go opt: - paths=source_relative - generate_unbound_methods=true # - name: openapiv2 - # out: gen/openapiv2 \ No newline at end of file + - plugin: buf.build/grpc-ecosystem/openapiv2 + out: gen/openapiv2 \ No newline at end of file