Skip to content

Commit b1cb89a

Browse files
committed
centralized the re exports
1 parent 32cd1d9 commit b1cb89a

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

Sources/Exports.swift

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift OpenAPI Lambda open source project
4+
//
5+
// Copyright (c) 2025 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+
16+
// re-export AWSLambdaRuntime and AWSLambdaEvents so that users don't have to.
17+
@_exported import AWSLambdaRuntime
18+
@_exported import AWSLambdaEvents

Sources/OpenAPILambda.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//
1414
//===----------------------------------------------------------------------===//
1515
import Foundation
16-
@_exported import AWSLambdaRuntime // re-export AWSLambdaRuntime so that users don't have to.
16+
import AWSLambdaRuntime
1717
import Logging
1818
import OpenAPIRuntime
1919
import HTTPTypes

0 commit comments

Comments
 (0)