From b6ebbaa87947e91616dc6de515b11bba93df7f7c Mon Sep 17 00:00:00 2001 From: Nex Date: Fri, 12 Feb 2021 21:10:12 +0800 Subject: [PATCH] fix: gen scripts > gohttp --- grpc/scripts/gen.bat | 2 +- grpc/scripts/gen.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grpc/scripts/gen.bat b/grpc/scripts/gen.bat index f28d1f2..7520d08 100644 --- a/grpc/scripts/gen.bat +++ b/grpc/scripts/gen.bat @@ -36,7 +36,7 @@ for %%A in (%*) do ( --grpc-gateway_opt grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml ^ --grpc-gateway_opt logtostderr=true ^ --openapiv2_out ..\..\docs\openapiv2 ^ - --openapiv2_out grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml ^ + --openapiv2_opt grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml ^ --openapiv2_opt logtostderr=true ^ %pb_files% ) diff --git a/grpc/scripts/gen.sh b/grpc/scripts/gen.sh index d785745..7491f07 100755 --- a/grpc/scripts/gen.sh +++ b/grpc/scripts/gen.sh @@ -68,7 +68,7 @@ do --grpc-gateway_opt grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml \ --grpc-gateway_opt logtostderr=true \ --openapiv2_out ../../docs/openapiv2 \ - --openapiv2_out grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml \ + --openapiv2_opt grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml \ --openapiv2_opt logtostderr=true \ $pb_files \ $async_tag