10
10
11
11
12
12
class Request (BaseModel ):
13
- data : Optional [str ]
13
+ data : Optional [str ] = None
14
14
"""The body that was specified for the forwarded request.
15
15
16
16
If a value was not specified in the original request, this value will be
17
17
returned as null ; otherwise, this value will always be returned as a string.
18
18
"""
19
19
20
- headers : Optional [object ]
20
+ headers : Optional [object ] = None
21
21
"""The specified HTTP headers that were included in the forwarded request.
22
22
23
23
If no headers were specified, this will be returned as `null`.
@@ -29,7 +29,7 @@ class Request(BaseModel):
29
29
Valid values include: `GET` , `POST` , `PUT` , `DELETE` , and `PATCH`.
30
30
"""
31
31
32
- params : Optional [object ]
32
+ params : Optional [object ] = None
33
33
"""The query parameters that were included in the forwarded request.
34
34
35
35
If no query parameters were specified, this will be returned as `null`.
@@ -40,14 +40,14 @@ class Request(BaseModel):
40
40
41
41
42
42
class RequestForwardingForwardResponse (BaseModel ):
43
- data : Optional [str ]
43
+ data : Optional [str ] = None
44
44
"""
45
45
A string representation of the HTTP response body of the forwarded request’s
46
46
response received from the underlying integration’s API. This field may be null
47
47
in the case where the upstream system’s response is empty.
48
48
"""
49
49
50
- headers : Optional [object ]
50
+ headers : Optional [object ] = None
51
51
"""
52
52
The HTTP headers of the forwarded request’s response, exactly as received from
53
53
the underlying integration’s API.
0 commit comments