mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 12:46:06 +00:00
gen-swagger-docs now uses local swagger spec
This commit is contained in:
@@ -22,8 +22,10 @@ set -o pipefail
|
||||
|
||||
cd /build/
|
||||
|
||||
wget "$2" -O input.json
|
||||
wget "$3" -O register.go
|
||||
wget "$2" -O register.go
|
||||
|
||||
# gendocs takes "input.json" as the input swagger spec.
|
||||
cp /swagger-source/"$1".json input.json
|
||||
|
||||
./gradle-2.5/bin/gradle gendocs --info
|
||||
|
||||
|
Reference in New Issue
Block a user