-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
29 lines (29 loc) · 1.01 KB
/
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
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/ar3s3ru/todo-list-app/gen
except:
- buf.build/googleapis/googleapis
plugins:
# Used for generating Go files out of Protobuf specifications.
- plugin: buf.build/protocolbuffers/go
out: gen
opt: paths=source_relative
# Used for generating Go gRPC client/server implementation using Buf's connect API.
- plugin: buf.build/bufbuild/connect-go
out: gen
opt: paths=source_relative
# Used for generating standard Go gRPC client/server implementation, for grpc-gateway.
- remote: buf.build/library/plugins/go-grpc
out: gen
opt:
- paths=source_relative
# Used for generating a JSON-based REST HTTP API from the gRPC specification.
- remote: buf.build/grpc-ecosystem/plugins/grpc-gateway
out: gen
opt:
- paths=source_relative
# Used for generating the OpenAPI v2 specification from the Protobuf/gRPC contracts.
- remote: buf.build/grpc-ecosystem/plugins/openapiv2
out: gen/openapiv2