Skip to content

Commit be9fb1c

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 3cb6966 commit be9fb1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/recommend/TrendingFacetsQuery.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public data class TrendingFacetsQuery(
2525
@SerialName(value = "threshold") val threshold: Double,
2626

2727
/** Facet attribute for which to retrieve trending facet values. */
28-
@SerialName(value = "facetName") val facetName: JsonElement,
28+
@SerialName(value = "facetName") val facetName: String,
2929

3030
@SerialName(value = "model") val model: TrendingFacetsModel,
3131

client/src/commonMain/kotlin/com/algolia/client/model/search/Consequence.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ public data class Consequence(
2828
@SerialName(value = "hide") val hide: List<ConsequenceHide>? = null,
2929

3030
/** A JSON object with custom data that will be appended to the `userData` array in the response. This object isn't interpreted by the API and is limited to 1&nbsp;kB of minified JSON. */
31-
@SerialName(value = "userData") val userData: JsonElement? = null,
31+
@SerialName(value = "userData") val userData: JsonObject? = null,
3232
)

0 commit comments

Comments
 (0)