@@ -14457,8 +14457,8 @@ components:
14457
14457
operator:
14458
14458
$ref: '#/components/schemas/SyntheticsAssertionBodyHashOperator'
14459
14459
target:
14460
+ $ref: '#/components/schemas/SyntheticsAssertionTargetValue'
14460
14461
description: Value used by the operator.
14461
- example: 123456
14462
14462
type:
14463
14463
$ref: '#/components/schemas/SyntheticsAssertionBodyHashType'
14464
14464
required:
@@ -14514,6 +14514,7 @@ components:
14514
14514
description: The specific operator to use on the path.
14515
14515
type: string
14516
14516
targetValue:
14517
+ $ref: '#/components/schemas/SyntheticsAssertionTargetValue'
14517
14518
description: The path target value to compare to.
14518
14519
type: object
14519
14520
SyntheticsAssertionJSONSchemaMetaSchema:
@@ -14621,8 +14622,8 @@ components:
14621
14622
description: The associated assertion property.
14622
14623
type: string
14623
14624
target:
14625
+ $ref: '#/components/schemas/SyntheticsAssertionTargetValue'
14624
14626
description: Value used by the operator.
14625
- example: 123456
14626
14627
timingsScope:
14627
14628
$ref: '#/components/schemas/SyntheticsAssertionTimingsScope'
14628
14629
type:
@@ -14632,6 +14633,20 @@ components:
14632
14633
- operator
14633
14634
- target
14634
14635
type: object
14636
+ SyntheticsAssertionTargetValue:
14637
+ description: Value used by the operator in assertions. Can be either a number
14638
+ or string.
14639
+ oneOf:
14640
+ - $ref: '#/components/schemas/SyntheticsAssertionTargetValueNumber'
14641
+ - $ref: '#/components/schemas/SyntheticsAssertionTargetValueString'
14642
+ SyntheticsAssertionTargetValueNumber:
14643
+ description: Numeric value used by the operator in assertions.
14644
+ format: double
14645
+ type: number
14646
+ SyntheticsAssertionTargetValueString:
14647
+ description: String value used by the operator in assertions. Supports templated
14648
+ variables.
14649
+ type: string
14635
14650
SyntheticsAssertionTimingsScope:
14636
14651
description: Timings scope for response time assertions.
14637
14652
enum:
@@ -14716,6 +14731,7 @@ components:
14716
14731
description: The specific operator to use on the path.
14717
14732
type: string
14718
14733
targetValue:
14734
+ $ref: '#/components/schemas/SyntheticsAssertionTargetValue'
14719
14735
description: The path target value to compare to.
14720
14736
xPath:
14721
14737
description: The X path to assert.
0 commit comments