update generation bash to handle vendor dir

This commit is contained in:
deads2k
2017-01-17 08:55:50 -05:00
parent a6b655fb6a
commit e100e8990b
7 changed files with 36 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ for gv in "${ALL_GROUP_VERSIONS[@]}"; do
fi
INTERESTING_GROUP_VERSIONS+=(${gv})
GV_DIRS+=("${REPO_DIR}/pkg/$(kube::util::group-version-to-pkg-path "${gv}")")
GV_DIRS+=("${REPO_DIR}/$(kube::util::group-version-to-pkg-path "${gv}")")
done
GROUP_VERSIONS="${INTERESTING_GROUP_VERSIONS[@]}" GV_DIRS="${GV_DIRS[@]}" kube::swagger::gen_api_ref_docs "${SWAGGER_SPEC_PATH}" "${OUTPUT}"