diff --git a/api/openapispec/docs.go b/api/openapispec/docs.go index 57161ff..bd4c8e8 100644 --- a/api/openapispec/docs.go +++ b/api/openapispec/docs.go @@ -1029,6 +1029,12 @@ const docTemplate = `{ "name": "name", "in": "query" }, + { + "type": "string", + "description": "Fuzzy match project name to filter project list by.", + "name": "fuzzyName", + "in": "query" + }, { "type": "integer", "description": "The current page to fetch. Default to 1", diff --git a/api/openapispec/swagger.json b/api/openapispec/swagger.json index 0fa614c..3ee77eb 100644 --- a/api/openapispec/swagger.json +++ b/api/openapispec/swagger.json @@ -1018,6 +1018,12 @@ "name": "name", "in": "query" }, + { + "type": "string", + "description": "Fuzzy match project name to filter project list by.", + "name": "fuzzyName", + "in": "query" + }, { "type": "integer", "description": "The current page to fetch. Default to 1", diff --git a/api/openapispec/swagger.yaml b/api/openapispec/swagger.yaml index a7ed6e1..9247f9b 100644 --- a/api/openapispec/swagger.yaml +++ b/api/openapispec/swagger.yaml @@ -2074,6 +2074,10 @@ paths: in: query name: name type: string + - description: Fuzzy match project name to filter project list by. + in: query + name: fuzzyName + type: string - description: The current page to fetch. Default to 1 in: query name: page diff --git a/package.json b/package.json index 9ec18d2..19efb7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kusionstack/kusion-api-client-sdk", - "version": "1.1.2", + "version": "1.1.3", "description": "Kusion API Client SDK", "main": "dist/src/client/index.js", "types": "dist/src/client/index.d.ts", diff --git a/src/client/types.gen.ts b/src/client/types.gen.ts index 0c66980..aca1c00 100644 --- a/src/client/types.gen.ts +++ b/src/client/types.gen.ts @@ -1601,6 +1601,10 @@ export type UpdateOrganizationError = (unknown); export type ListProjectData = { query?: { + /** + * Fuzzy match project name to filter project list by. + */ + fuzzyName?: string; /** * Project name to filter project list by. This should only return one result if set. */