Skip to content

Commit d47a3bf

Browse files
authored
Add Decodable Request to APIGatewayRequest (#108)
Add Decodable Request to APIGatewayRequest
1 parent f5c173c commit d47a3bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/AWSLambdaEvents/APIGateway.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ public struct APIGatewayRequest: Encodable, Sendable {
7777
public let isBase64Encoded: Bool
7878
}
7979

80+
extension APIGatewayRequest: DecodableRequest {}
81+
8082
// MARK: - Response -
8183

8284
public struct APIGatewayResponse: Codable, Sendable {

0 commit comments

Comments
 (0)