File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
services/synthetics/src/v1/models Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -17208,13 +17208,21 @@ components:
17208
17208
description: DNS server port to use for DNS tests.
17209
17209
type: string
17210
17210
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`.
17212
17213
items:
17213
17214
$ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
17214
17215
type: array
17215
17216
follow_redirects:
17216
17217
description: Specifies whether or not the request follows redirects.
17217
17218
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
17218
17226
headers:
17219
17227
$ref: '#/components/schemas/SyntheticsTestHeaders'
17220
17228
host:
Original file line number Diff line number Diff line change @@ -62,13 +62,17 @@ export class SyntheticsTestRequest {
62
62
*/
63
63
"dnsServerPort" ?: string ;
64
64
/**
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`.
66
66
*/
67
67
"files" ?: Array < SyntheticsTestRequestBodyFile > ;
68
68
/**
69
69
* Specifies whether or not the request follows redirects.
70
70
*/
71
71
"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 } ;
72
76
/**
73
77
* Headers to include when performing the test.
74
78
*/
@@ -214,6 +218,10 @@ export class SyntheticsTestRequest {
214
218
baseName : "follow_redirects" ,
215
219
type : "boolean" ,
216
220
} ,
221
+ form : {
222
+ baseName : "form" ,
223
+ type : "{ [key: string]: string; }" ,
224
+ } ,
217
225
headers : {
218
226
baseName : "headers" ,
219
227
type : "{ [key: string]: string; }" ,
You can’t perform that action at this time.
0 commit comments