Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/abtesting-v3/common/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ filterEffects:
description: Number of tracked searches removed from the A/B test.
example: 237

metric:
createMetric:
type: object
description: Defines a metric to be retrieved during an A/B test.
properties:
Expand Down
2 changes: 1 addition & 1 deletion specs/abtesting-v3/common/schemas/Timeseries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ metricDate:
metrics:
$ref: 'Variant.yml#/metrics'

Metric:
MetricName:
type: string
enum:
- search_count
Expand Down
4 changes: 2 additions & 2 deletions specs/abtesting-v3/common/schemas/Variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ metrics:
type: array
description: All ABTest metrics that were defined during test creation.
items:
$ref: '#/metric'
$ref: '#/metricResult'

metric:
metricResult:
type: object
properties:
name:
Expand Down
4 changes: 2 additions & 2 deletions specs/abtesting-v3/paths/abtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ post:
$ref: '../common/schemas/AddABTestsVariant.yml#/AddABTestsVariant'
metrics:
type: array
description: A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
description: A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
items:
$ref: '../common/parameters.yml#/metric'
$ref: '../common/parameters.yml#/createMetric'
configuration:
$ref: '../common/schemas/ABTest.yml#/ABTestConfiguration'
endAt:
Expand Down
2 changes: 1 addition & 1 deletion specs/abtesting-v3/paths/scheduleABTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ post:
type: array
description: A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
items:
$ref: '../common/parameters.yml#/metric'
$ref: '../common/parameters.yml#/createMetric'
configuration:
$ref: '../common/schemas/ABTest.yml#/ABTestConfiguration'
scheduledAt:
Expand Down
2 changes: 1 addition & 1 deletion specs/abtesting-v3/paths/timeseries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get:
schema:
type: array
items:
$ref: '../common/schemas/Timeseries.yml#/Metric'
$ref: '../common/schemas/Timeseries.yml#/MetricName'
responses:
'200':
description: OK
Expand Down