Skip to content

Commit d481737

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 9757e1e of spec repo (#2370)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e45024a commit d481737

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17208,13 +17208,21 @@ components:
1720817208
description: DNS server port to use for DNS tests.
1720917209
type: string
1721017210
files:
17211-
description: Files to be used as part of the request in the test.
17211+
description: Files to be used as part of the request in the test. Only valid
17212+
if `bodyType` is `multipart/form-data`.
1721217213
items:
1721317214
$ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
1721417215
type: array
1721517216
follow_redirects:
1721617217
description: Specifies whether or not the request follows redirects.
1721717218
type: boolean
17219+
form:
17220+
additionalProperties:
17221+
description: A single form entry.
17222+
type: string
17223+
description: Form to be used as part of the request in the test. Only valid
17224+
if `bodyType` is `multipart/form-data`.
17225+
type: object
1721817226
headers:
1721917227
$ref: '#/components/schemas/SyntheticsTestHeaders'
1722017228
host:

services/synthetics/src/v1/models/SyntheticsTestRequest.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,17 @@ export class SyntheticsTestRequest {
6262
*/
6363
"dnsServerPort"?: string;
6464
/**
65-
* Files to be used as part of the request in the test.
65+
* Files to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.
6666
*/
6767
"files"?: Array<SyntheticsTestRequestBodyFile>;
6868
/**
6969
* Specifies whether or not the request follows redirects.
7070
*/
7171
"followRedirects"?: boolean;
72+
/**
73+
* Form to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.
74+
*/
75+
"form"?: { [key: string]: string };
7276
/**
7377
* Headers to include when performing the test.
7478
*/
@@ -214,6 +218,10 @@ export class SyntheticsTestRequest {
214218
baseName: "follow_redirects",
215219
type: "boolean",
216220
},
221+
form: {
222+
baseName: "form",
223+
type: "{ [key: string]: string; }",
224+
},
217225
headers: {
218226
baseName: "headers",
219227
type: "{ [key: string]: string; }",

0 commit comments

Comments
 (0)