From b78fb98ff50da1da7648b9535320448cd8f6d166 Mon Sep 17 00:00:00 2001 From: Kai Welke Date: Tue, 30 Jul 2024 09:36:04 +0200 Subject: [PATCH 1/2] fix(specs): required prop for dictionaryEntry --- .../common/schemas/SearchDictionaryEntriesResponse.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml b/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml index 0b022825d27..b27786aeaca 100644 --- a/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml +++ b/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml @@ -25,7 +25,6 @@ dictionaryEntry: additionalProperties: true required: - objectID - - language properties: objectID: type: string From 141509f5bf17e60098e0bb950f425af64b792745 Mon Sep 17 00:00:00 2001 From: Pierre Millot Date: Tue, 30 Jul 2024 15:16:41 +0200 Subject: [PATCH 2/2] update test --- .../search/batchDictionaryEntries.json | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/tests/CTS/requests/search/batchDictionaryEntries.json b/tests/CTS/requests/search/batchDictionaryEntries.json index 5e583d7eff0..6aaa124d71d 100644 --- a/tests/CTS/requests/search/batchDictionaryEntries.json +++ b/tests/CTS/requests/search/batchDictionaryEntries.json @@ -65,18 +65,7 @@ { "action": "deleteEntry", "body": { - "objectID": "1", - "language": "en", - "word": "fancy", - "words": [ - "believe", - "algolia" - ], - "decomposition": [ - "trust", - "algolia" - ], - "state": "enabled" + "objectID": "1" } } ] @@ -91,18 +80,7 @@ { "action": "deleteEntry", "body": { - "objectID": "1", - "language": "en", - "word": "fancy", - "words": [ - "believe", - "algolia" - ], - "decomposition": [ - "trust", - "algolia" - ], - "state": "enabled" + "objectID": "1" } } ]