diff --git a/restapi/embedded_spec.go b/restapi/embedded_spec.go index a3be522fe..9d75126c6 100644 --- a/restapi/embedded_spec.go +++ b/restapi/embedded_spec.go @@ -6398,6 +6398,17 @@ func init() { } } }, + "tenantResponseItem": { + "type": "object", + "properties": { + "access_key": { + "type": "string" + }, + "secret_key": { + "type": "string" + } + } + }, "tenantUsage": { "type": "object", "properties": { @@ -13639,6 +13650,17 @@ func init() { } } }, + "tenantResponseItem": { + "type": "object", + "properties": { + "access_key": { + "type": "string" + }, + "secret_key": { + "type": "string" + } + } + }, "tenantUsage": { "type": "object", "properties": { diff --git a/swagger.yml b/swagger.yml index 8edb2d7fe..9ecb89284 100644 --- a/swagger.yml +++ b/swagger.yml @@ -3878,12 +3878,17 @@ definitions: type: object properties: console: - type: object - properties: - access_key: - type: string - secret_key: - type: string + type: array + items: + $ref: "#/definitions/tenantResponseItem" + + tenantResponseItem: + type: object + properties: + access_key: + type: string + secret_key: + type: string tenantPod: type: object