From 3a09ec94e817b15dd388b1f2ce3504f7628c5c07 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 e87de7e..60f8029 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