forked from Permify/permify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuf.gen.yaml
35 lines (35 loc) · 960 Bytes
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env -S buf generate --template
---
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/Permify/permify/pkg/pb
except:
- buf.build/googleapis/googleapis
- buf.build/envoyproxy/protoc-gen-validate
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
- remote: buf.build/protocolbuffers/plugins/go:v1.28.0-1
out: pkg/pb
opt:
- paths=source_relative
- remote: buf.build/grpc/plugins/go:v1.2.0-1
out: pkg/pb
opt:
- paths=source_relative
- remote: buf.build/jirkad/plugins/protoc-gen-validate:v0.6.7
out: pkg/pb
opt:
- paths=source_relative
- lang=go
- remote: buf.build/grpc-ecosystem/plugins/grpc-gateway:v2.10.0-1
out: pkg/pb
opt:
- paths=source_relative
- logtostderr=true
- remote: buf.build/grpc-ecosystem/plugins/openapiv2:v2.10.0-1
out: docs/v1
opt:
- openapi_naming_strategy=simple
- allow_merge=true