1
0
mirror of https://github.com/hexolan/stocklet.git synced 2026-12-01 03:09:10 +00:00

chore: initial buf cfg migration

Signed-off-by: Declan Teevan <dt@hexolan.com>
This commit is contained in:
2026-11-19 06:41:40 +00:00
parent ae3ed7e304
commit 0891cf2de0
6 changed files with 38 additions and 40 deletions
+7 -7
View File
@@ -1,23 +1,23 @@
version: v1
version: v2
plugins:
- plugin: buf.build/protocolbuffers/go:v1.31.0
- remote: buf.build/protocolbuffers/go:v1.31.0
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- plugin: buf.build/grpc/go:v1.3.0
- remote: buf.build/grpc/go:v1.3.0
out: internal/pkg/protogen
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- plugin: buf.build/grpc-ecosystem/gateway:v2.18.0
- remote: buf.build/grpc-ecosystem/gateway:v2.18.0
out: internal/pkg/protogen
opt:
opt:
- paths=import
- module=github.com/hexolan/stocklet/internal/pkg/protogen
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.18.0
- remote: buf.build/grpc-ecosystem/openapiv2:v2.18.0
out: schema/openapi
opt:
- output_format=yaml
- allow_merge=true
- merge_file_name=services
- merge_file_name=services