Skip to content

Commit 3c01f97

Browse files
algolia-botkai687
andcommitted
fix(specs): add type: object to 3 schemas (generated)
algolia/api-clients-automation#4392 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent 3c37ce1 commit 3c01f97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

algoliasearch/src/main/java/com/algolia/model/recommend/TrendingFacetsQuery.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class TrendingFacetsQuery implements RecommendationsRequest {
2424
private RecommendSearchParams queryParameters;
2525

2626
@JsonProperty("facetName")
27-
private Object facetName;
27+
private String facetName;
2828

2929
@JsonProperty("model")
3030
private TrendingFacetsModel model;
@@ -84,14 +84,14 @@ public RecommendSearchParams getQueryParameters() {
8484
return queryParameters;
8585
}
8686

87-
public TrendingFacetsQuery setFacetName(Object facetName) {
87+
public TrendingFacetsQuery setFacetName(String facetName) {
8888
this.facetName = facetName;
8989
return this;
9090
}
9191

9292
/** Facet attribute for which to retrieve trending facet values. */
93-
@javax.annotation.Nullable
94-
public Object getFacetName() {
93+
@javax.annotation.Nonnull
94+
public String getFacetName() {
9595
return facetName;
9696
}
9797

0 commit comments

Comments
 (0)