We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37976c commit d9b11b2Copy full SHA for d9b11b2
Sources/OpenAPILambda.swift
@@ -40,6 +40,8 @@ public protocol OpenAPILambda: Sendable {
40
}
41
42
extension OpenAPILambda {
43
+ /// Returns the Lambda handler function for this OpenAPI Lambda implementation.
44
+ /// - Returns: A handler function that can be used with AWS Lambda Runtime
45
public static func handler() throws -> @Sendable (Event, LambdaContext) async throws -> Output {
46
try OpenAPILambdaHandler<Self>().handler
47
0 commit comments