Skip to content

Commit 18c81ab

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Make assertion target be int or string (#29116)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent da1d210 commit 18c81ab

File tree

5 files changed

+4277
-727
lines changed

5 files changed

+4277
-727
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-20 07:23:31.781659",
8-
"spec_repo_commit": "fec20f97"
7+
"regenerated": "2025-05-23 12:50:48.362295",
8+
"spec_repo_commit": "11a9dcb4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-20 07:23:40.945974",
13-
"spec_repo_commit": "fec20f97"
12+
"regenerated": "2025-05-23 12:50:57.784833",
13+
"spec_repo_commit": "11a9dcb4"
1414
}
1515
}
1616
}

content/en/api/v1/synthetics/examples.json

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

data/api/v1/full_spec.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14457,8 +14457,8 @@ components:
1445714457
operator:
1445814458
$ref: '#/components/schemas/SyntheticsAssertionBodyHashOperator'
1445914459
target:
14460+
$ref: '#/components/schemas/SyntheticsAssertionTargetValue'
1446014461
description: Value used by the operator.
14461-
example: 123456
1446214462
type:
1446314463
$ref: '#/components/schemas/SyntheticsAssertionBodyHashType'
1446414464
required:
@@ -14514,6 +14514,7 @@ components:
1451414514
description: The specific operator to use on the path.
1451514515
type: string
1451614516
targetValue:
14517+
$ref: '#/components/schemas/SyntheticsAssertionTargetValue'
1451714518
description: The path target value to compare to.
1451814519
type: object
1451914520
SyntheticsAssertionJSONSchemaMetaSchema:
@@ -14621,8 +14622,8 @@ components:
1462114622
description: The associated assertion property.
1462214623
type: string
1462314624
target:
14625+
$ref: '#/components/schemas/SyntheticsAssertionTargetValue'
1462414626
description: Value used by the operator.
14625-
example: 123456
1462614627
timingsScope:
1462714628
$ref: '#/components/schemas/SyntheticsAssertionTimingsScope'
1462814629
type:
@@ -14632,6 +14633,20 @@ components:
1463214633
- operator
1463314634
- target
1463414635
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
1463514650
SyntheticsAssertionTimingsScope:
1463614651
description: Timings scope for response time assertions.
1463714652
enum:
@@ -14716,6 +14731,7 @@ components:
1471614731
description: The specific operator to use on the path.
1471714732
type: string
1471814733
targetValue:
14734+
$ref: '#/components/schemas/SyntheticsAssertionTargetValue'
1471914735
description: The path target value to compare to.
1472014736
xPath:
1472114737
description: The X path to assert.

0 commit comments

Comments
 (0)