Skip to content

Commit 1d81a0e

Browse files
committed
remove unused code
1 parent 0b733f4 commit 1d81a0e

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

Sources/OpenAPILambdaHandler.swift

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -108,27 +108,3 @@ public struct OpenAPILambdaHandler<L: OpenAPILambda>: Sendable {
108108
return lambda.output(from: lambdaResponse)
109109
}
110110
}
111-
112-
// struct Test<L: OpenAPILambda> where L.Event: Sendable, L.Output: Sendable {
113-
// private let router: OpenAPILambdaRouter
114-
// private let transport: OpenAPILambdaTransport
115-
// private let lambda: L
116-
// private let logger: Logger = Logger(label: "test")
117-
118-
// /// the input type for this Lambda handler (received from the `OpenAPILambda`)
119-
// public typealias Event = L.Event
120-
121-
// /// the output type for this Lambda handler (received from the `OpenAPILambda`)
122-
// public typealias Output = L.Output
123-
124-
// /// Function entry point when the runtime environment is created
125-
// private func main() async throws {
126-
// // Instantiate LambdaRuntime with a handler implementing the business logic of the Lambda function
127-
// let lambdaRuntime = LambdaRuntime(logger: logger, body: self.handler)
128-
// try await lambdaRuntime.run()
129-
// }
130-
// private func handler(event: Event, context: LambdaContext) async throws -> Output {
131-
// fatalError()
132-
// }
133-
134-
// }

0 commit comments

Comments
 (0)