Skip to content

Commit 090b254

Browse files
authored
Merge f29ebb9 into c61945c
2 parents c61945c + f29ebb9 commit 090b254

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
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/common/schemas/Timeseries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ metricDate:
4242
metrics:
4343
$ref: 'Variant.yml#/metrics'
4444

45-
Metric:
45+
MetricName:
4646
type: string
4747
enum:
4848
- search_count

specs/abtesting-v3/common/schemas/Variant.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ metrics:
4040
type: array
4141
description: All ABTest metrics that were defined during test creation.
4242
items:
43-
$ref: '#/metric'
43+
$ref: '#/metricResult'
4444

45-
metric:
45+
metricResult:
4646
type: object
4747
properties:
4848
name:

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:

specs/abtesting-v3/paths/timeseries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ get:
1616
schema:
1717
type: array
1818
items:
19-
$ref: '../common/schemas/Timeseries.yml#/Metric'
19+
$ref: '../common/schemas/Timeseries.yml#/MetricName'
2020
responses:
2121
'200':
2222
description: OK

0 commit comments

Comments
 (0)