Skip to content

Commit fb2c496

Browse files
algolia-botraed667
andcommitted
fix(specs): update Recommend maxRecommendations to 30 max [RECO-2361] (#4483) (generated) [skip ci]
Co-authored-by: Raed <[email protected]>
1 parent 4f68190 commit fb2c496

20 files changed

+20
-20
lines changed

clients/algoliasearch-client-dart/packages/algoliasearch/lib/src/model/base_recommend_request.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class BaseRecommendRequest {
2828

2929
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3030
// minimum: 1
31-
// maximum: 1000
31+
// maximum: 30
3232
@JsonKey(name: r'maxRecommendations')
3333
final int? maxRecommendations;
3434

clients/algoliasearch-client-dart/packages/algoliasearch/lib/src/model/bought_together_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class BoughtTogetherQuery {
3131

3232
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3333
// minimum: 1
34-
// maximum: 1000
34+
// maximum: 30
3535
@JsonKey(name: r'maxRecommendations')
3636
final int? maxRecommendations;
3737

clients/algoliasearch-client-dart/packages/algoliasearch/lib/src/model/looking_similar_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class LookingSimilarQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/algoliasearch/lib/src/model/related_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class RelatedQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/algoliasearch/lib/src/model/trending_facets_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class TrendingFacetsQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/algoliasearch/lib/src/model/trending_items_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class TrendingItemsQuery {
3434

3535
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3636
// minimum: 1
37-
// maximum: 1000
37+
// maximum: 30
3838
@JsonKey(name: r'maxRecommendations')
3939
final int? maxRecommendations;
4040

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/base_recommend_request.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class BaseRecommendRequest {
2828

2929
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3030
// minimum: 1
31-
// maximum: 1000
31+
// maximum: 30
3232
@JsonKey(name: r'maxRecommendations')
3333
final int? maxRecommendations;
3434

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/bought_together_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class BoughtTogetherQuery {
3131

3232
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3333
// minimum: 1
34-
// maximum: 1000
34+
// maximum: 30
3535
@JsonKey(name: r'maxRecommendations')
3636
final int? maxRecommendations;
3737

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/looking_similar_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class LookingSimilarQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/related_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class RelatedQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/trending_facets_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class TrendingFacetsQuery {
3333

3434
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3535
// minimum: 1
36-
// maximum: 1000
36+
// maximum: 30
3737
@JsonKey(name: r'maxRecommendations')
3838
final int? maxRecommendations;
3939

clients/algoliasearch-client-dart/packages/client_recommend/lib/src/model/trending_items_query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class TrendingItemsQuery {
3434

3535
/// Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
3636
// minimum: 1
37-
// maximum: 1000
37+
// maximum: 30
3838
@JsonKey(name: r'maxRecommendations')
3939
final int? maxRecommendations;
4040

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/BoughtTogetherQuery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public BoughtTogetherQuery setMaxRecommendations(Integer maxRecommendations) {
6363
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6464
* no fallback request is made. Depending on the available recommendations and the other request
6565
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
66-
* maximum: 1000
66+
* maximum: 30
6767
*/
6868
@javax.annotation.Nullable
6969
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/LookingSimilarQuery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public LookingSimilarQuery setMaxRecommendations(Integer maxRecommendations) {
6666
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6767
* no fallback request is made. Depending on the available recommendations and the other request
6868
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
69-
* maximum: 1000
69+
* maximum: 30
7070
*/
7171
@javax.annotation.Nullable
7272
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/RelatedQuery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public RelatedQuery setMaxRecommendations(Integer maxRecommendations) {
6666
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6767
* no fallback request is made. Depending on the available recommendations and the other request
6868
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
69-
* maximum: 1000
69+
* maximum: 30
7070
*/
7171
@javax.annotation.Nullable
7272
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/TrendingFacetsQuery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public TrendingFacetsQuery setMaxRecommendations(Integer maxRecommendations) {
6666
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
6767
* no fallback request is made. Depending on the available recommendations and the other request
6868
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
69-
* maximum: 1000
69+
* maximum: 30
7070
*/
7171
@javax.annotation.Nullable
7272
public Integer getMaxRecommendations() {

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/recommend/TrendingItemsQuery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public TrendingItemsQuery setMaxRecommendations(Integer maxRecommendations) {
6969
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and
7070
* no fallback request is made. Depending on the available recommendations and the other request
7171
* parameters, the actual number of recommendations may be lower than this value. minimum: 1
72-
* maximum: 1000
72+
* maximum: 30
7373
*/
7474
@javax.annotation.Nullable
7575
public Integer getMaxRecommendations() {

docs/bundled/recommend.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5022,7 +5022,7 @@ components:
50225022
maxRecommendations:
50235023
type: integer
50245024
minimum: 1
5025-
maximum: 1000
5025+
maximum: 30
50265026
default: 30
50275027
description: >
50285028
Maximum number of recommendations to retrieve.

specs/bundled/algoliasearch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4608,7 +4608,7 @@ components:
46084608
maxRecommendations:
46094609
type: integer
46104610
minimum: 1
4611-
maximum: 1000
4611+
maximum: 30
46124612
default: 30
46134613
description: >
46144614
Maximum number of recommendations to retrieve.

specs/bundled/recommend.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2946,7 +2946,7 @@ components:
29462946
maxRecommendations:
29472947
type: integer
29482948
minimum: 1
2949-
maximum: 1000
2949+
maximum: 30
29502950
default: 30
29512951
description: >
29522952
Maximum number of recommendations to retrieve.

0 commit comments

Comments
 (0)