This commit is contained in:
2026-06-16 23:08:35 +07:00
parent 5c7f3a4aca
commit 540b26b343
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ generate:
protoc -I ./api \
--go_out ./proto --go_opt paths=source_relative \
--go-grpc_out ./proto --go-grpc_opt paths=source_relative \
--grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative \
--swagger_out=allow_merge=true,merge_file_name=main:./proto \
--grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative,generate_unbound_methods=true \
--openapiv2_out ./proto --openapiv2_opt allow_merge=true,merge_file_name=main \
./api/main.proto
run: