diff --git a/api/openapispec/docs.go b/api/openapispec/docs.go index 6bfa927..57161ff 100644 --- a/api/openapispec/docs.go +++ b/api/openapispec/docs.go @@ -5430,15 +5430,9 @@ const docTemplate = `{ "request.UpdateWorkspaceRequest": { "type": "object", "required": [ - "backendID", - "id", - "owners" + "id" ], "properties": { - "backendID": { - "description": "BackendID is the configuration backend id associated with the workspace.", - "type": "integer" - }, "description": { "description": "Description is a human-readable description of the workspace.", "type": "string" diff --git a/api/openapispec/swagger.json b/api/openapispec/swagger.json index 72b6e73..0fa614c 100644 --- a/api/openapispec/swagger.json +++ b/api/openapispec/swagger.json @@ -5419,15 +5419,9 @@ "request.UpdateWorkspaceRequest": { "type": "object", "required": [ - "backendID", - "id", - "owners" + "id" ], "properties": { - "backendID": { - "description": "BackendID is the configuration backend id associated with the workspace.", - "type": "integer" - }, "description": { "description": "Description is a human-readable description of the workspace.", "type": "string" diff --git a/api/openapispec/swagger.yaml b/api/openapispec/swagger.yaml index ad73e28..a7ed6e1 100644 --- a/api/openapispec/swagger.yaml +++ b/api/openapispec/swagger.yaml @@ -1218,10 +1218,6 @@ definitions: type: object request.UpdateWorkspaceRequest: properties: - backendID: - description: BackendID is the configuration backend id associated with the - workspace. - type: integer description: description: Description is a human-readable description of the workspace. type: string @@ -1242,9 +1238,7 @@ definitions: type: string type: array required: - - backendID - id - - owners type: object request.WorkspaceConfigs: properties: diff --git a/package.json b/package.json index 62c81e6..9ec18d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kusionstack/kusion-api-client-sdk", - "version": "1.1.1", + "version": "1.1.2", "description": "Kusion API Client SDK", "main": "dist/src/client/index.js", "types": "dist/src/client/index.d.ts", diff --git a/src/client/schemas.gen.ts b/src/client/schemas.gen.ts index dfa46de..6cad4ce 100644 --- a/src/client/schemas.gen.ts +++ b/src/client/schemas.gen.ts @@ -1626,10 +1626,6 @@ export const request_UpdateStackRequestSchema = { export const request_UpdateWorkspaceRequestSchema = { properties: { - backendID: { - description: 'BackendID is the configuration backend id associated with the workspace.', - type: 'integer' - }, description: { description: 'Description is a human-readable description of the workspace.', type: 'string' @@ -1657,7 +1653,7 @@ export const request_UpdateWorkspaceRequestSchema = { type: 'array' } }, - required: ['backendID', 'id', 'owners'], + required: ['id'], type: 'object' } as const; diff --git a/src/client/types.gen.ts b/src/client/types.gen.ts index 1697e0f..0c66980 100644 --- a/src/client/types.gen.ts +++ b/src/client/types.gen.ts @@ -1195,10 +1195,6 @@ export type request_UpdateStackRequest = { }; export type request_UpdateWorkspaceRequest = { - /** - * BackendID is the configuration backend id associated with the workspace. - */ - backendID: number; /** * Description is a human-readable description of the workspace. */ @@ -1220,7 +1216,7 @@ export type request_UpdateWorkspaceRequest = { /** * Owners is a list of owners for the workspace. */ - owners: Array<(string)>; + owners?: Array<(string)>; }; export type request_WorkspaceConfigs = {