Skip to content

Commit 9a2e7a8

Browse files
kai687millotp
andauthored
fix(specs): required prop for dictionaryEntry (#3449)
Co-authored-by: Pierre Millot <[email protected]>
1 parent 7d6ae3a commit 9a2e7a8

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ dictionaryEntry:
2525
additionalProperties: true
2626
required:
2727
- objectID
28-
- language
2928
properties:
3029
objectID:
3130
type: string

tests/CTS/requests/search/batchDictionaryEntries.json

+2-24
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,7 @@
6565
{
6666
"action": "deleteEntry",
6767
"body": {
68-
"objectID": "1",
69-
"language": "en",
70-
"word": "fancy",
71-
"words": [
72-
"believe",
73-
"algolia"
74-
],
75-
"decomposition": [
76-
"trust",
77-
"algolia"
78-
],
79-
"state": "enabled"
68+
"objectID": "1"
8069
}
8170
}
8271
]
@@ -91,18 +80,7 @@
9180
{
9281
"action": "deleteEntry",
9382
"body": {
94-
"objectID": "1",
95-
"language": "en",
96-
"word": "fancy",
97-
"words": [
98-
"believe",
99-
"algolia"
100-
],
101-
"decomposition": [
102-
"trust",
103-
"algolia"
104-
],
105-
"state": "enabled"
83+
"objectID": "1"
10684
}
10785
}
10886
]

0 commit comments

Comments
 (0)