mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Fix a typo in util.sh that resulted in wrong openapi spec generation
This commit is contained in:
parent
3be5706830
commit
4ed8328e8d
@ -428,7 +428,7 @@ kube::util::fetch-openapi-spec() {
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
SUBPATH="apis/"${ver%/*}
|
SUBPATH="apis/"${ver%/*}
|
||||||
OPEAN_JSON_NAME="${ver%/*}.json"
|
OPENAPI_JSON_NAME="${ver%/*}.json"
|
||||||
curl -w "\n" -fs "${OPENAPI_PATH}${SUBPATH}/swagger.json" > "${OPENAPI_ROOT_DIR}/${OPENAPI_JSON_NAME}"
|
curl -w "\n" -fs "${OPENAPI_PATH}${SUBPATH}/swagger.json" > "${OPENAPI_ROOT_DIR}/${OPENAPI_JSON_NAME}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user