diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 2f5040f343..44fb43e101 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -2358,6 +2358,7 @@ "required": false, "in": "query", "schema": { + "format": "uuid", "type": "array", "items": { "type": "string" @@ -4630,7 +4631,7 @@ "required": true }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { @@ -4768,7 +4769,7 @@ "required": true }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { @@ -8481,6 +8482,7 @@ }, "personIds": { "items": { + "format": "uuid", "type": "string" }, "type": "array" @@ -9611,6 +9613,7 @@ }, "personIds": { "items": { + "format": "uuid", "type": "string" }, "type": "array" diff --git a/open-api/typescript-sdk/src/fetch-client.ts b/open-api/typescript-sdk/src/fetch-client.ts index ee421155be..6d4c7cd539 100644 --- a/open-api/typescript-sdk/src/fetch-client.ts +++ b/open-api/typescript-sdk/src/fetch-client.ts @@ -2210,7 +2210,7 @@ export function searchMetadata({ metadataSearchDto }: { metadataSearchDto: MetadataSearchDto; }, opts?: Oazapfts.RequestOpts) { return oazapfts.ok(oazapfts.fetchJson<{ - status: 201; + status: 200; data: SearchResponseDto; }>("/search/metadata", oazapfts.json({ ...opts, @@ -2248,7 +2248,7 @@ export function searchSmart({ smartSearchDto }: { smartSearchDto: SmartSearchDto; }, opts?: Oazapfts.RequestOpts) { return oazapfts.ok(oazapfts.fetchJson<{ - status: 201; + status: 200; data: SearchResponseDto; }>("/search/smart", oazapfts.json({ ...opts,