mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 03:03:40 +00:00
Merge pull request #63837 from roycaihw/fix-rollback-return-object
Automatic merge from submit-queue (batch tested with PRs 65377, 63837, 65370, 65294, 65376). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix openapi spec: posting a rollback returns a deploymentstatus **What this PR does / why we need it**: Fix openapi spec and documentation. Posting a rollback doesnt return a rollback object, it instead returns a deployment status. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: ref #56591 **Release note**: ```release-note NONE ``` /sig api-machinery /sig apps
This commit is contained in:
12
api/openapi-spec/swagger.json
generated
12
api/openapi-spec/swagger.json
generated
@@ -29443,19 +29443,19 @@
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentRollback"
|
||||
"$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStatus"
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"description": "Created",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentRollback"
|
||||
"$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStatus"
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "Accepted",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentRollback"
|
||||
"$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStatus"
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
@@ -47879,19 +47879,19 @@
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback"
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStatus"
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"description": "Created",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback"
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStatus"
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "Accepted",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback"
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStatus"
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
|
Reference in New Issue
Block a user