Skip to content

Commit 9daf8dc

Browse files
committed
fix CI checks
1 parent 2a6de31 commit 9daf8dc

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

Examples/quoteapi/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ let package = Package(
4646
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
4747
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
4848
],
49-
path: "Sources/LambdaAuthorizer",
49+
path: "Sources/LambdaAuthorizer"
5050
),
5151
]
5252
)

Examples/quoteapi/Sources/LambdaAuthorizer/main.swift

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift OpenAPI Lambda open source project
4+
//
5+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates
6+
// and the Swift OpenAPI Lambda project authors
7+
// Licensed under Apache License v2.0
8+
//
9+
// See LICENSE.txt for license information
10+
// See CONTRIBUTORS.txt for the list of Swift OpenAPI Lambda project authors
11+
//
12+
// SPDX-License-Identifier: Apache-2.0
13+
//
14+
//===----------------------------------------------------------------------===//
15+
116
//===----------------------------------------------------------------------===//
217
//
318
// This source file is part of the SwiftAWSLambdaRuntime open source project

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.1
1+
// swift-tools-version: 6.0
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

Sources/OpenAPILambda.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import HTTPTypes
2020
/// A Lambda function implemented with a OpenAPI server (implementing `APIProtocol` from Swift OpenAPIRuntime)
2121
public protocol OpenAPILambda: Sendable {
2222

23-
associatedtype Event: Decodable, Sendable
24-
associatedtype Output: Encodable, Sendable
23+
associatedtype Event: Decodable
24+
associatedtype Output: Encodable
2525

2626
/// Initialize application.
2727
///

Sources/OpenAPILambdaHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import OpenAPIRuntime
1818
import HTTPTypes
1919

2020
/// Specialization of LambdaHandler which runs an OpenAPILambda
21-
public struct OpenAPILambdaHandler<L: OpenAPILambda>: Sendable where L.Event: Sendable, L.Output: Sendable {
21+
public struct OpenAPILambdaHandler<L: OpenAPILambda>: Sendable {
2222

2323
private let router: OpenAPILambdaRouter
2424
private let transport: OpenAPILambdaTransport

0 commit comments

Comments
 (0)