Skip to content

Commit

Permalink
use remote buf plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleGamer22 committed Nov 29, 2023
1 parent 8bded1b commit 1a8a414
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -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
- plugin: buf.build/grpc-ecosystem/openapiv2
out: gen/openapiv2

0 comments on commit 1a8a414

Please sign in to comment.