From 773ac99e0eb72dc14e1d147d1091446a615b7d6c Mon Sep 17 00:00:00 2001 From: cb-github-robot Date: Thu, 21 Nov 2024 01:08:30 +0000 Subject: [PATCH] Update Swagger REST API doc --- src/api/rest/docs/docs.go | 2 +- src/api/rest/docs/swagger.json | 2 +- src/api/rest/docs/swagger.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/rest/docs/docs.go b/src/api/rest/docs/docs.go index 2600448b..f6d49ae3 100644 --- a/src/api/rest/docs/docs.go +++ b/src/api/rest/docs/docs.go @@ -3061,7 +3061,7 @@ const docTemplate = `{ } } }, - "/ns/{nsId}/k8sCluster/{k8sClusterId}/k8sNodeGroup/{k8sNodeGroupName}/onAutoScaling": { + "/ns/{nsId}/k8sCluster/{k8sClusterId}/k8sNodeGroup/{k8sNodeGroupName}/onAutoscaling": { "put": { "description": "Set a K8sNodeGroup's Autoscaling On/Off", "consumes": [ diff --git a/src/api/rest/docs/swagger.json b/src/api/rest/docs/swagger.json index a2dfec4d..1db0c7c9 100644 --- a/src/api/rest/docs/swagger.json +++ b/src/api/rest/docs/swagger.json @@ -3054,7 +3054,7 @@ } } }, - "/ns/{nsId}/k8sCluster/{k8sClusterId}/k8sNodeGroup/{k8sNodeGroupName}/onAutoScaling": { + "/ns/{nsId}/k8sCluster/{k8sClusterId}/k8sNodeGroup/{k8sNodeGroupName}/onAutoscaling": { "put": { "description": "Set a K8sNodeGroup's Autoscaling On/Off", "consumes": [ diff --git a/src/api/rest/docs/swagger.yaml b/src/api/rest/docs/swagger.yaml index d8be3b12..e6bb313f 100644 --- a/src/api/rest/docs/swagger.yaml +++ b/src/api/rest/docs/swagger.yaml @@ -2304,7 +2304,7 @@ paths: schema: $ref: '#/components/schemas/model.SimpleMsg' x-codegen-request-body-name: changeK8sNodeGroupAutoscaleSizeReq - /ns/{nsId}/k8sCluster/{k8sClusterId}/k8sNodeGroup/{k8sNodeGroupName}/onAutoScaling: + /ns/{nsId}/k8sCluster/{k8sClusterId}/k8sNodeGroup/{k8sNodeGroupName}/onAutoscaling: put: tags: - "[Kubernetes] Cluster Management"