Merge pull request #84654 from liggitt/drop-openapi-version

Drop version from static openapi json file
This commit is contained in:
Kubernetes Prow Robot
2020-01-08 11:59:39 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ fi
kube::log::status "Updating " "${OPENAPI_ROOT_DIR}"
curl -w "\n" -fs "${API_HOST}:${API_PORT}/openapi/v2" | jq -S . > "${OPENAPI_ROOT_DIR}/swagger.json"
curl -w "\n" -fs "${API_HOST}:${API_PORT}/openapi/v2" | jq -S '.info.version="unversioned"' > "${OPENAPI_ROOT_DIR}/swagger.json"
kube::log::status "SUCCESS"