From 9a2e7a837a4300eac052bf3ccf456d29e520b74e Mon Sep 17 00:00:00 2001 From: Kai Welke Date: Tue, 30 Jul 2024 15:31:49 +0200 Subject: [PATCH] fix(specs): required prop for dictionaryEntry (#3449) Co-authored-by: Pierre Millot --- .../SearchDictionaryEntriesResponse.yml | 1 - .../search/batchDictionaryEntries.json | 26 ++----------------- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml b/specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml index 0b022825d2..b27786aeac 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 diff --git a/tests/CTS/requests/search/batchDictionaryEntries.json b/tests/CTS/requests/search/batchDictionaryEntries.json index 5e583d7eff..6aaa124d71 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" } } ]