diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index d72ffb5fa..e3870283c 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -9094,7 +9094,7 @@ client.synonyms.putSynonymRule({ set_id, rule_id, synonyms }) * *Request (object):* ** *`set_id` (string)*: The id of the synonym set to be updated with the synonym rule ** *`rule_id` (string)*: The id of the synonym rule to be updated or created -** *`synonyms` (string[])* +** *`synonyms` (string)* [discrete] === tasks diff --git a/src/api/types.ts b/src/api/types.ts index 90ce3473e..7a707fd97 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -17278,7 +17278,7 @@ export interface SynonymsPutSynonymResponse { export interface SynonymsPutSynonymRuleRequest extends RequestBase { set_id: Id rule_id: Id - synonyms: SynonymsSynonymString[] + synonyms: SynonymsSynonymString } export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index b41622899..dc9617cbd 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -17693,7 +17693,7 @@ export interface SynonymsPutSynonymRuleRequest extends RequestBase { rule_id: Id /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */ body?: { - synonyms: SynonymsSynonymString[] + synonyms: SynonymsSynonymString } }