gen-swagger-docs now uses local swagger spec

This commit is contained in:
Chao Xu
2015-10-19 16:57:38 -07:00
parent 0d7b53a201
commit b47ea12a99
3 changed files with 12 additions and 7 deletions

View File

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