dev add pagination for search in internet images
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-02-10 11:58:32 +07:00
parent 33883faa98
commit 792e0048cc
4 changed files with 29 additions and 5 deletions
@@ -7,4 +7,10 @@ import lombok.Data;
public class ImageSearchRequest {
@JsonProperty("file_id")
private String fileId;
@JsonProperty("page")
private Integer page = 1;
@JsonProperty("page_size")
private Integer pageSize = 10;
}
@@ -42,4 +42,12 @@ public class YandexSearchResponse {
@JsonProperty("host")
private String host;
}
private int page;
private int pageSize;
private int totalResults;
private int totalPages;
}