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:
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:
Original file line number Diff line number Diff 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; }" ,
You can’t perform that action at this time.
0 commit comments