Skip to content

Commit 4f2e953

Browse files
authored
Adjust license files for /awslabs (#28)
Change the legal files and the license header in source files according to AWS standards
1 parent 73e8494 commit 4f2e953

22 files changed

+57
-64
lines changed

.license_header_template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
@@
33
@@ This source file is part of the Swift OpenAPI Lambda open source project
44
@@
5-
@@ Copyright (c) YEARS Amazon.com, Inc. or its affiliates
6-
@@ and the Swift OpenAPI Lambda project authors
5+
@@ Copyright Swift OpenAPI Lambda project authors
6+
@@ Copyright (c) YEARS Amazon.com, Inc. or its affiliates.
77
@@ Licensed under Apache License v2.0
88
@@
99
@@ See LICENSE.txt for license information

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sébastien Stormacq <[email protected]> <[email protected]>

CONTRIBUTORS.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
For the purpose of tracking copyright, this is the list of individuals and
2-
organizations who have contributed source code to Hummingbird OpenAPI Transport.
2+
organizations who have contributed source code to Swift OpenAPI Lambda.
33

44
For employees of an organization/company where the copyright of work done
55
by employees of that company is held by the company itself, only the company
66
needs to be listed here.
77

88
## COPYRIGHT HOLDERS
99

10+
- Amazon.com, Inc. (all contributors with '@amazon.com')
1011
- Apple Inc. (all contributors with '@apple.com')
11-
- Amazon.com, Inc. or its affiliates (all contributors with @amazon.com)
1212

1313
### Contributors
1414

15-
- Sébastien Stormacq ([email protected])
15+
- Emlyn Murphy <[email protected]>
16+
- Franz Busch <[email protected]>
17+
- Sébastien Stormacq <[email protected]>
18+
- Victor Hugo Barros <[email protected]>
1619

1720
**Updating this list**
1821

19-
Please do not edit this file manually. It is generated using `./scripts/generate-contributors-list.sh`. If a name is misspelled or appearing multiple times: add an entry in `./.mailmap`
22+
Please do not edit this file manually. It is generated using `bash ./scripts/generate-contributors-list.sh`. If a name is misspelled or appearing multiple times: add an entry in `./.mailmap`

Examples/quoteapi/Sources/LambdaAuthorizer/main.swift

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// This source file is part of the Swift OpenAPI Lambda open source project
44
//
5-
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates
6-
// and the Swift OpenAPI Lambda project authors
5+
// Copyright Swift OpenAPI Lambda project authors
6+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates.
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
@@ -13,20 +13,6 @@
1313
//
1414
//===----------------------------------------------------------------------===//
1515

16-
//===----------------------------------------------------------------------===//
17-
//
18-
// This source file is part of the SwiftAWSLambdaRuntime open source project
19-
//
20-
// Copyright (c) 2024 Apple Inc. and the SwiftAWSLambdaRuntime project authors
21-
// Licensed under Apache License v2.0
22-
//
23-
// See LICENSE.txt for license information
24-
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
25-
//
26-
// SPDX-License-Identifier: Apache-2.0
27-
//
28-
//===----------------------------------------------------------------------===//
29-
3016
import AWSLambdaEvents
3117
import AWSLambdaRuntime
3218

Examples/quoteapi/Sources/QuoteAPI/AuthenticateUserMiddleware.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// This source file is part of the Swift OpenAPI Lambda open source project
44
//
5-
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates
6-
// and the Swift OpenAPI Lambda project authors
5+
// Copyright Swift OpenAPI Lambda project authors
6+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates.
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

Examples/quoteapi/Sources/QuoteAPI/QuoteService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// This source file is part of the Swift OpenAPI Lambda open source project
44
//
5-
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates
6-
// and the Swift OpenAPI Lambda project authors
5+
// Copyright Swift OpenAPI Lambda project authors
6+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates.
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

Sources/Exports.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// This source file is part of the Swift OpenAPI Lambda open source project
44
//
5-
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
6-
// and the Swift OpenAPI Lambda project authors
5+
// Copyright Swift OpenAPI Lambda project authors
6+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates.
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

Sources/HttpApi/APIGatewayV2+HTTPRequest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// This source file is part of the Swift OpenAPI Lambda open source project
44
//
5-
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates
6-
// and the Swift OpenAPI Lambda project authors
5+
// Copyright Swift OpenAPI Lambda project authors
6+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates.
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

Sources/HttpApi/OpenAPILambdaHttpApi.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// This source file is part of the Swift OpenAPI Lambda open source project
44
//
5-
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates
6-
// and the Swift OpenAPI Lambda project authors
5+
// Copyright Swift OpenAPI Lambda project authors
6+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates.
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

Sources/Middleware/LoggingMiddleware.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// This source file is part of the Swift OpenAPI Lambda open source project
44
//
5-
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates
6-
// and the Swift OpenAPI Lambda project authors
5+
// Copyright Swift OpenAPI Lambda project authors
6+
// Copyright (c) 2023 Amazon.com, Inc. or its affiliates.
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

0 commit comments

Comments
 (0)