Files
mantrae/buf.gen.yaml
2025-11-12 17:24:59 +01:00

34 lines
809 B
YAML

version: v2
clean: true
managed:
enabled: true
override:
- file_option: go_package_prefix
value: github.com/mizuchilabs/mantrae/proto/gen
disable:
- file_option: go_package
module: buf.build/bufbuild/protovalidate
plugins:
- protoc_builtin: go
out: proto/gen
opt: paths=source_relative
- local: protoc-gen-connect-go
out: proto/gen
opt: paths=source_relative
- local: protoc-gen-es
out: web/src/lib/gen
opt: target=ts
include_imports: true
- local: protoc-gen-connect-openapi
out: server/internal/api/server/openapi
strategy: all
opt:
- features=connectrpc;google.api.http;protovalidate
- allow-get
- with-streaming
- format=json
- path=openapi.json
- base=openapi.yaml
inputs:
- directory: proto