Skip to content

Commit

Permalink
Fix synonyms/put_synonym_rule body (#2407) (#2409)
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)
  • Loading branch information
pquentin committed Feb 8, 2024
1 parent ab4d8a1 commit 5629771
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
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 5629771

Please sign in to comment.