1
0
mirror of https://github.com/hexolan/stocklet.git synced 2026-12-01 03:09:10 +00:00
Files
stocklet/buf.gen.yaml
T
2026-11-19 06:44:57 +00:00

25 lines
791 B
YAML

version: v2
plugins:
- remote: buf.build/protocolbuffers/go:v1.36.12
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- remote: buf.build/grpc/go:v1.6.2
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- remote: buf.build/grpc-ecosystem/gateway:v2.33.0
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
# TODO: migrate to v3 (now that swagger alternative is in released branches)
- remote: buf.build/grpc-ecosystem/openapiv2:v2.33.0
out: schema/openapi
opt:
- output_format=yaml
- allow_merge=true
- merge_file_name=services