Skip to content

Commit

Permalink
Auto-generated code for 8.11 (#2132)
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine committed Feb 27, 2024
1 parent 5451452 commit 90cfe2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8950,7 +8950,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
Expand Down
2 changes: 1 addition & 1 deletion src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17178,7 +17178,7 @@ export interface SynonymsPutSynonymResponse {
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
set_id: Id
rule_id: Id
synonyms: SynonymsSynonymString[]
synonyms: SynonymsSynonymString
}

export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult
Expand Down
2 changes: 1 addition & 1 deletion src/api/typesWithBodyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17586,7 +17586,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
}
}

Expand Down

0 comments on commit 90cfe2a

Please sign in to comment.