From 0775a1a388c41f4fc961c871c13a4b9be5b36468 Mon Sep 17 00:00:00 2001 From: UUBulb <35923940+uubulb@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:45:27 +0800 Subject: [PATCH] swag: add --requiredByDefault option (#5) --- script/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bootstrap.sh b/script/bootstrap.sh index e87de7eb..60f80298 100755 --- a/script/bootstrap.sh +++ b/script/bootstrap.sh @@ -1,4 +1,4 @@ -swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs +swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --requiredByDefault protoc --go-grpc_out="require_unimplemented_servers=false:." --go_out="." proto/*.proto rm -rf ../agent/proto cp -r proto ../agent \ No newline at end of file