swag: add --requiredByDefault option (#5)

This commit is contained in:
UUBulb 2024-11-15 20:45:27 +08:00 committed by GitHub
parent 3168055948
commit 3a09ec94e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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