Skip to content

Commit f5e62ba

Browse files
authored
Merge branch 'main' into chore/renovateBaseBranch
2 parents 87277c2 + 47f83e6 commit f5e62ba

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

specs/personalization/common/schemas/eventScoring.yml renamed to specs/personalization/common/schemas/eventsScoring.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
eventScoring:
1+
eventsScoring:
22
type: object
33
additionalProperties: false
44
required:

specs/personalization/common/schemas/facetScoring.yml renamed to specs/personalization/common/schemas/facetsScoring.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
facetScoring:
1+
facetsScoring:
22
type: object
33
additionalProperties: false
44
required:

specs/personalization/common/schemas/personalizationStrategy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@ personalizationStrategyParams:
22
type: object
33
additionalProperties: false
44
required:
5-
- eventScoring
6-
- facetScoring
5+
- eventsScoring
6+
- facetsScoring
77
- personalizationImpact
88
properties:
9-
eventScoring:
9+
eventsScoring:
1010
type: array
1111
description: |
1212
Scores associated with each event.
1313
1414
The higher the scores, the higher the impact of those events on the personalization of search results.
1515
items:
16-
$ref: 'eventScoring.yml#/eventScoring'
17-
facetScoring:
16+
$ref: 'eventsScoring.yml#/eventsScoring'
17+
facetsScoring:
1818
type: array
1919
description: |
2020
Scores associated with each facet.
2121
2222
The higher the scores, the higher the impact of those events on the personalization of search results.
2323
items:
24-
$ref: 'facetScoring.yml#/facetScoring'
24+
$ref: 'facetsScoring.yml#/facetsScoring'
2525
personalizationImpact:
2626
type: integer
2727
minimum: 0

tests/CTS/requests/personalization/setPersonalizationStrategy.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
{
33
"testName": "set setPersonalizationStrategy",
44
"parameters": {
5-
"eventScoring": [
5+
"eventsScoring": [
66
{
77
"score": 42,
88
"eventName": "Algolia",
99
"eventType": "click"
1010
}
1111
],
12-
"facetScoring": [
12+
"facetsScoring": [
1313
{
1414
"score": 42,
1515
"facetName": "Event"
@@ -21,14 +21,14 @@
2121
"path": "/1/strategies/personalization",
2222
"method": "POST",
2323
"body": {
24-
"eventScoring": [
24+
"eventsScoring": [
2525
{
2626
"score": 42,
2727
"eventName": "Algolia",
2828
"eventType": "click"
2929
}
3030
],
31-
"facetScoring": [
31+
"facetsScoring": [
3232
{
3333
"score": 42,
3434
"facetName": "Event"

0 commit comments

Comments
 (0)