Skip to content

Commit e5d1417

Browse files
kai687shortcuts
andauthored
fix(specs): dictionary entry for stopwords has type property (#3456)
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 28182ef commit e5d1417

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Diff for: specs/search/common/enums.yml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ dictionaryEntryState:
2828
default: enabled
2929
description: Whether a dictionary entry is active.
3030

31+
dictionaryEntryType:
32+
type: string
33+
enum: [custom, standard]
34+
description: Whether a dictionary entry is provided by Algolia (standard), or has been added by you (custom).
35+
3136
logType:
3237
type: string
3338
enum: [all, query, build, error]

Diff for: specs/search/paths/dictionaries/common/schemas/SearchDictionaryEntriesResponse.yml

+2
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ dictionaryEntry:
5252
type: string
5353
state:
5454
$ref: '../../../../common/enums.yml#/dictionaryEntryState'
55+
type:
56+
$ref: '../../../../common/enums.yml#/dictionaryEntryType'

0 commit comments

Comments
 (0)