Skip to content

Commit 163c50b

Browse files
committed
feat: reduce confusion further
1 parent 62f9e18 commit 163c50b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

specs/abtesting-v3/common/parameters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ filterEffects:
138138
description: Number of tracked searches removed from the A/B test.
139139
example: 237
140140

141-
metric:
141+
createMetric:
142142
type: object
143143
description: Defines a metric to be retrieved during an A/B test.
144144
properties:

specs/abtesting-v3/paths/abtests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ post:
2525
$ref: '../common/schemas/AddABTestsVariant.yml#/AddABTestsVariant'
2626
metrics:
2727
type: array
28-
description: A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
28+
description: A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
2929
items:
30-
$ref: '../common/parameters.yml#/metric'
30+
$ref: '../common/parameters.yml#/createMetric'
3131
configuration:
3232
$ref: '../common/schemas/ABTest.yml#/ABTestConfiguration'
3333
endAt:

specs/abtesting-v3/paths/scheduleABTest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ post:
2828
type: array
2929
description: A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
3030
items:
31-
$ref: '../common/parameters.yml#/metric'
31+
$ref: '../common/parameters.yml#/createMetric'
3232
configuration:
3333
$ref: '../common/schemas/ABTest.yml#/ABTestConfiguration'
3434
scheduledAt:

0 commit comments

Comments
 (0)