remove deprecated openapi paths in favor of /openapi/v2

This commit is contained in:
Jordan Liggitt
2019-01-21 16:33:41 -05:00
parent 5e86fa43f5
commit 52519ecb1c
8 changed files with 10 additions and 42 deletions

View File

@@ -83,7 +83,7 @@ fi
kube::log::status "Updating " ${OPENAPI_ROOT_DIR}
curl -w "\n" -fs "${API_HOST}:${API_PORT}/swagger.json" > "${OPENAPI_ROOT_DIR}/swagger.json"
curl -w "\n" -fs "${API_HOST}:${API_PORT}/openapi/v2" > "${OPENAPI_ROOT_DIR}/swagger.json"
kube::log::status "SUCCESS"