diff --git a/mobile/openapi/lib/api/search_api.dart b/mobile/openapi/lib/api/search_api.dart index c44e51b420..a810021371 100644 --- a/mobile/openapi/lib/api/search_api.dart +++ b/mobile/openapi/lib/api/search_api.dart @@ -322,10 +322,10 @@ class SearchApi { /// * [String] name (required): /// /// * [num] page: - /// This property was added in v118.0.0 + /// This property was added in v119.0.0 /// /// * [num] size: - /// This property was added in v118.0.0 + /// This property was added in v119.0.0 /// /// * [bool] withHidden: Future<Response> searchPersonWithHttpInfo(String name, { num? page, num? size, bool? withHidden, }) async { @@ -369,10 +369,10 @@ class SearchApi { /// * [String] name (required): /// /// * [num] page: - /// This property was added in v118.0.0 + /// This property was added in v119.0.0 /// /// * [num] size: - /// This property was added in v118.0.0 + /// This property was added in v119.0.0 /// /// * [bool] withHidden: Future<SearchPersonNameResponseDto?> searchPerson(String name, { num? page, num? size, bool? withHidden, }) async { diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 214c134441..03c2da1f08 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -4409,7 +4409,7 @@ "Search" ], "x-immich-lifecycle": { - "addedAt": "v1.118.0" + "addedAt": "v1.119.0" } } }, @@ -4541,7 +4541,7 @@ "name": "page", "required": false, "in": "query", - "description": "This property was added in v118.0.0", + "description": "This property was added in v119.0.0", "schema": { "minimum": 1, "default": 1, @@ -4552,7 +4552,7 @@ "name": "size", "required": false, "in": "query", - "description": "This property was added in v118.0.0", + "description": "This property was added in v119.0.0", "schema": { "minimum": 1, "maximum": 1000, diff --git a/server/src/controllers/search.controller.ts b/server/src/controllers/search.controller.ts index 2d0ef26b18..cf8c6163b6 100644 --- a/server/src/controllers/search.controller.ts +++ b/server/src/controllers/search.controller.ts @@ -78,7 +78,7 @@ export class SearchController { } @Get('album') - @EndpointLifecycle({ addedAt: 'v1.118.0' }) + @EndpointLifecycle({ addedAt: 'v1.119.0' }) @Authenticated() searchAlbum(@Auth() auth: AuthDto, @Query() dto: SearchAlbumsDto): Promise<SearchAlbumNameResponseDto> { return this.service.searchAlbum(auth, dto); diff --git a/server/src/dtos/search.dto.ts b/server/src/dtos/search.dto.ts index b0e823391d..314f51570c 100644 --- a/server/src/dtos/search.dto.ts +++ b/server/src/dtos/search.dto.ts @@ -242,7 +242,7 @@ export class SearchPeopleDto { /** Page number for pagination */ @ApiPropertyOptional() - @PropertyLifecycle({ addedAt: 'v118.0.0' }) + @PropertyLifecycle({ addedAt: 'v119.0.0' }) @IsInt() @Min(1) @Type(() => Number) @@ -250,7 +250,7 @@ export class SearchPeopleDto { /** Number of items per page */ @ApiPropertyOptional() - @PropertyLifecycle({ addedAt: 'v118.0.0' }) + @PropertyLifecycle({ addedAt: 'v119.0.0' }) @IsInt() @Min(1) @Max(1000)