Skip to content

Commit 6158729

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 77ee88c of spec repo
1 parent 412154f commit 6158729

5 files changed

Lines changed: 15 additions & 0 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20036,6 +20036,10 @@ components:
2003620036
ignoreServerCertificateError:
2003720037
description: Ignore server certificate error for browser tests.
2003820038
type: boolean
20039+
ignore_certificate_validation:
20040+
description: |-
20041+
For SSL tests, whether or not the test should ignore certificate validation.
20042+
type: boolean
2003920043
initialNavigationTimeout:
2004020044
description: Timeout before declaring the initial step as failed (in seconds) for browser tests.
2004120045
format: int64

examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const params: v1.SyntheticsApiCreateSyntheticsAPITestRequest = {
2929
acceptSelfSigned: true,
3030
checkCertificateRevocation: true,
3131
disableAiaIntermediateFetching: true,
32+
ignoreCertificateValidation: true,
3233
tickEvery: 60,
3334
},
3435
subtype: "ssl",

features/v1/synthetics.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ Feature: Synthetics
246246
When the request is sent
247247
Then the response status is 200 OK - Returns the created test details.
248248
And the response "name" is equal to "{{ unique }}"
249+
And the response "options.ignore_certificate_validation" is equal to true
249250

250251
@generated @skip @team:DataDog/synthetics-orchestrating-managing
251252
Scenario: Create an API test returns "- JSON format is wrong" response

features/v1/synthetics_api_ssl_test_payload.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"accept_self_signed": true,
2020
"checkCertificateRevocation": true,
2121
"disableAiaIntermediateFetching": true,
22+
"ignore_certificate_validation": true,
2223
"tick_every": 60
2324
},
2425
"subtype": "ssl",

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ export class SyntheticsTestOptions {
7777
* Ignore server certificate error for browser tests.
7878
*/
7979
"ignoreServerCertificateError"?: boolean;
80+
/**
81+
* For SSL tests, whether or not the test should ignore certificate validation.
82+
*/
83+
"ignoreCertificateValidation"?: boolean;
8084
/**
8185
* Timeout before declaring the initial step as failed (in seconds) for browser tests.
8286
*/
@@ -214,6 +218,10 @@ export class SyntheticsTestOptions {
214218
baseName: "ignoreServerCertificateError",
215219
type: "boolean",
216220
},
221+
ignoreCertificateValidation: {
222+
baseName: "ignore_certificate_validation",
223+
type: "boolean",
224+
},
217225
initialNavigationTimeout: {
218226
baseName: "initialNavigationTimeout",
219227
type: "number",

0 commit comments

Comments
 (0)