Skip to content

Commit

Permalink
fix(specs): add type: object to 3 schemas (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4392

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Kai Welke <kai.welke@algolia.com>
  • Loading branch information
algolia-bot and kai687 committed Jan 23, 2025
1 parent 3cb6966 commit be9fb1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public data class TrendingFacetsQuery(
@SerialName(value = "threshold") val threshold: Double,

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ public data class Consequence(
@SerialName(value = "hide") val hide: List<ConsequenceHide>? = null,

/** 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. */
@SerialName(value = "userData") val userData: JsonElement? = null,
@SerialName(value = "userData") val userData: JsonObject? = null,
)

0 comments on commit be9fb1c

Please sign in to comment.