Files
stocklet/buf.gen.yaml
Declan Teevan 1ef41aeb26 chore: migrate buf configs
fix versioning for Buf dependencies
2025-09-29 03:58:39 +01:00

26 lines
751 B
YAML

version: v2
plugins:
- remote: buf.build/protocolbuffers/go:v1.31.0
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- remote: buf.build/grpc/go:v1.3.0
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- remote: buf.build/grpc-ecosystem/gateway:v2.18.0
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- remote: buf.build/grpc-ecosystem/openapiv2:v2.18.0
out: schema/openapi
opt:
- output_format=yaml
- allow_merge=true
- merge_file_name=services
inputs:
- directory: schema/protobufs