Skip to content

Commit c5d48b5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add alwaysExecute and exitIfSucceed to Synthetics steps (#1892)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e8749d6 commit c5d48b5

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
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": "2024-11-05 15:05:56.262037",
8-
"spec_repo_commit": "8d63eae4"
7+
"regenerated": "2024-11-05 20:16:44.203879",
8+
"spec_repo_commit": "1a56bfda"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-05 15:05:56.280323",
13-
"spec_repo_commit": "8d63eae4"
12+
"regenerated": "2024-11-05 20:16:44.222969",
13+
"spec_repo_commit": "1a56bfda"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16227,6 +16227,13 @@ components:
1622716227
allowFailure:
1622816228
description: A boolean set to allow this step to fail.
1622916229
type: boolean
16230+
alwaysExecute:
16231+
description: A boolean set to always execute this step even if the previous
16232+
step failed or was skipped.
16233+
type: boolean
16234+
exitIfSucceed:
16235+
description: A boolean set to exit the test if the step succeeds.
16236+
type: boolean
1623016237
isCritical:
1623116238
description: A boolean to use in addition to `allowFailure` to determine
1623216239
if the test should be marked as failed when the step fails.
@@ -16235,7 +16242,7 @@ components:
1623516242
description: The name of the step.
1623616243
type: string
1623716244
noScreenshot:
16238-
description: A boolean set to not take a screenshot for the step.
16245+
description: A boolean set to skip taking a screenshot for the step.
1623916246
type: boolean
1624016247
params:
1624116248
description: The parameters of the step.

packages/datadog-api-client-v1/models/SyntheticsStep.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ export class SyntheticsStep {
1515
* A boolean set to allow this step to fail.
1616
*/
1717
"allowFailure"?: boolean;
18+
/**
19+
* A boolean set to always execute this step even if the previous step failed or was skipped.
20+
*/
21+
"alwaysExecute"?: boolean;
22+
/**
23+
* A boolean set to exit the test if the step succeeds.
24+
*/
25+
"exitIfSucceed"?: boolean;
1826
/**
1927
* A boolean to use in addition to `allowFailure` to determine if the test should be marked as failed when the step fails.
2028
*/
@@ -24,7 +32,7 @@ export class SyntheticsStep {
2432
*/
2533
"name"?: string;
2634
/**
27-
* A boolean set to not take a screenshot for the step.
35+
* A boolean set to skip taking a screenshot for the step.
2836
*/
2937
"noScreenshot"?: boolean;
3038
/**
@@ -60,6 +68,14 @@ export class SyntheticsStep {
6068
baseName: "allowFailure",
6169
type: "boolean",
6270
},
71+
alwaysExecute: {
72+
baseName: "alwaysExecute",
73+
type: "boolean",
74+
},
75+
exitIfSucceed: {
76+
baseName: "exitIfSucceed",
77+
type: "boolean",
78+
},
6379
isCritical: {
6480
baseName: "isCritical",
6581
type: "boolean",

0 commit comments

Comments
 (0)