Skip to content

Commit

Permalink
Fix synonyms/put_synonym_rule body (#2407) (#2408)
Browse files Browse the repository at this point in the history
synonyms is not a list, but a string in Solr format.

(cherry picked from commit 90b0967)

Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
github-actions[bot] and pquentin authored Feb 8, 2024
1 parent 6f2146a commit 50c316c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
5 changes: 1 addition & 4 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ export interface Request extends RequestBase {
* The synonym rule information to update
*/
body: {
synonyms: SynonymString[]
synonyms: SynonymString
}
}

0 comments on commit 50c316c

Please sign in to comment.