diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 49c6c6ef30..ca48c4f143 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -5712,6 +5712,7 @@ "required": false, "in": "query", "schema": { + "format": "uuid", "type": "string" } } diff --git a/server/src/dtos/stack.dto.ts b/server/src/dtos/stack.dto.ts index 3b867b02fe..49845dcf51 100644 --- a/server/src/dtos/stack.dto.ts +++ b/server/src/dtos/stack.dto.ts @@ -12,6 +12,7 @@ export class StackCreateDto { } export class StackSearchDto { + @ValidateUUID({ optional: true }) primaryAssetId?: string; }