-
Notifications
You must be signed in to change notification settings - Fork 39.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove deprecated openapi paths in favor of /openapi/v2 #73148
remove deprecated openapi paths in favor of /openapi/v2 #73148
Conversation
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize that the default is supposed to be JSon, but should we specifically ask for the json version when we want json?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not necessarily opposed, but having this test the implicit json response doesn't seem bad either
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, mbohlool The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind cleanup
Which issue(s) this PR fixes:
Fixes #73083
Does this PR introduce a user-facing change?:
/sig api-machinery
/cc @mbohlool @apelisse