File tree 3 files changed +16
-19
lines changed
3 files changed +16
-19
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ public enum ALB {
51
51
}
52
52
53
53
public struct TargetGroupResponse : Codable {
54
- public let statusCode : HTTPResponseStatus
55
- public let statusDescription : String ?
56
- public let headers : HTTPHeaders ?
57
- public let multiValueHeaders : HTTPMultiValueHeaders ?
58
- public let body : String
59
- public let isBase64Encoded : Bool
54
+ public var statusCode : HTTPResponseStatus
55
+ public var statusDescription : String ?
56
+ public var headers : HTTPHeaders ?
57
+ public var multiValueHeaders : HTTPMultiValueHeaders ?
58
+ public var body : String
59
+ public var isBase64Encoded : Bool
60
60
61
61
public init (
62
62
statusCode: HTTPResponseStatus ,
Original file line number Diff line number Diff line change @@ -93,24 +93,21 @@ extension APIGateway.V2 {
93
93
94
94
extension APIGateway . V2 {
95
95
public struct Response : Codable {
96
- public let statusCode : HTTPResponseStatus
97
- public let headers : HTTPHeaders ?
98
- public let multiValueHeaders : HTTPMultiValueHeaders ?
99
- public let body : String ?
100
- public let isBase64Encoded : Bool ?
101
- public let cookies : [ String ] ?
96
+ public var statusCode : HTTPResponseStatus
97
+ public var headers : HTTPHeaders ?
98
+ public var body : String ?
99
+ public var isBase64Encoded : Bool ?
100
+ public var cookies : [ String ] ?
102
101
103
102
public init (
104
103
statusCode: HTTPResponseStatus ,
105
104
headers: HTTPHeaders ? = nil ,
106
- multiValueHeaders: HTTPMultiValueHeaders ? = nil ,
107
105
body: String ? = nil ,
108
106
isBase64Encoded: Bool ? = nil ,
109
107
cookies: [ String ] ? = nil
110
108
) {
111
109
self . statusCode = statusCode
112
110
self . headers = headers
113
- self . multiValueHeaders = multiValueHeaders
114
111
self . body = body
115
112
self . isBase64Encoded = isBase64Encoded
116
113
self . cookies = cookies
Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ public enum APIGateway {
70
70
71
71
extension APIGateway {
72
72
public struct Response : Codable {
73
- public let statusCode : HTTPResponseStatus
74
- public let headers : HTTPHeaders ?
75
- public let multiValueHeaders : HTTPMultiValueHeaders ?
76
- public let body : String ?
77
- public let isBase64Encoded : Bool ?
73
+ public var statusCode : HTTPResponseStatus
74
+ public var headers : HTTPHeaders ?
75
+ public var multiValueHeaders : HTTPMultiValueHeaders ?
76
+ public var body : String ?
77
+ public var isBase64Encoded : Bool ?
78
78
79
79
public init (
80
80
statusCode: HTTPResponseStatus ,
You can’t perform that action at this time.
0 commit comments