From 8ba938734dbdac14b2fa51986023f45e578676ed Mon Sep 17 00:00:00 2001 From: seokho-son Date: Fri, 12 Jul 2024 01:27:56 +0000 Subject: [PATCH] Update Swagger REST API doc --- src/api/rest/docs/docs.go | 11 +++++++++++ src/api/rest/docs/swagger.json | 11 +++++++++++ src/api/rest/docs/swagger.yaml | 8 ++++++++ 3 files changed, 30 insertions(+) diff --git a/src/api/rest/docs/docs.go b/src/api/rest/docs/docs.go index 557fd007e..bc602e3c5 100644 --- a/src/api/rest/docs/docs.go +++ b/src/api/rest/docs/docs.go @@ -9616,6 +9616,9 @@ const docTemplate = `{ "id": { "type": "string" }, + "infraType": { + "type": "string" + }, "maxTotalStorageTiB": { "$ref": "#/definitions/mcir.Range" }, @@ -10220,6 +10223,10 @@ const docTemplate = `{ "id": { "type": "string" }, + "infraType": { + "description": "vm|k8s|kubernetes|container, etc.", + "type": "string" + }, "isAutoGenerated": { "type": "boolean" }, @@ -10423,6 +10430,10 @@ const docTemplate = `{ "id": { "type": "string" }, + "infraType": { + "description": "vm|k8s|kubernetes|container, etc.", + "type": "string" + }, "isAutoGenerated": { "type": "boolean" }, diff --git a/src/api/rest/docs/swagger.json b/src/api/rest/docs/swagger.json index 0a24fecfb..68479e288 100644 --- a/src/api/rest/docs/swagger.json +++ b/src/api/rest/docs/swagger.json @@ -9609,6 +9609,9 @@ "id": { "type": "string" }, + "infraType": { + "type": "string" + }, "maxTotalStorageTiB": { "$ref": "#/definitions/mcir.Range" }, @@ -10213,6 +10216,10 @@ "id": { "type": "string" }, + "infraType": { + "description": "vm|k8s|kubernetes|container, etc.", + "type": "string" + }, "isAutoGenerated": { "type": "boolean" }, @@ -10416,6 +10423,10 @@ "id": { "type": "string" }, + "infraType": { + "description": "vm|k8s|kubernetes|container, etc.", + "type": "string" + }, "isAutoGenerated": { "type": "boolean" }, diff --git a/src/api/rest/docs/swagger.yaml b/src/api/rest/docs/swagger.yaml index 8e9665358..e8111bcb1 100644 --- a/src/api/rest/docs/swagger.yaml +++ b/src/api/rest/docs/swagger.yaml @@ -458,6 +458,8 @@ definitions: type: string id: type: string + infraType: + type: string maxTotalStorageTiB: $ref: '#/definitions/mcir.Range' memoryGiB: @@ -869,6 +871,9 @@ definitions: type: string id: type: string + infraType: + description: vm|k8s|kubernetes|container, etc. + type: string isAutoGenerated: type: boolean keyValueList: @@ -1009,6 +1014,9 @@ definitions: type: string id: type: string + infraType: + description: vm|k8s|kubernetes|container, etc. + type: string isAutoGenerated: type: boolean maxTotalStorageTiB: