move to buf

This commit is contained in:
2025-07-20 11:13:38 -04:00
parent d875bbb2f7
commit 55497b9d2a
13 changed files with 349 additions and 632 deletions

32
buf.gen.yaml Normal file
View File

@ -0,0 +1,32 @@
version: v2
managed:
enabled: true
disable:
- file_option: go_package
module: buf.build/bufbuild/protovalidate
plugins:
- remote: buf.build/protocolbuffers/go
out: api
opt:
- paths=source_relative
- remote: buf.build/grpc/go
out: api
opt:
- paths=source_relative
- require_unimplemented_servers=false
- remote: buf.build/bufbuild/validate-go
out: api
opt:
- paths=source_relative
- remote: buf.build/grpc-ecosystem/gateway
out: api
opt:
- paths=source_relative
- generate_unbound_methods=true
- remote: buf.build/grpc-ecosystem/openapiv2
out: contrib/
opt:
- merge_file_name=go-server-with-otel
- allow_merge=true
inputs:
- directory: proto