Skip to content

Commit 0c14afa

Browse files
committed
restore original license header in files borrowed from the Swift OpenAPI Generator project
1 parent 52b6fc9 commit 0c14afa

7 files changed

+104
-0
lines changed

scripts/check-for-broken-symlinks.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
## SPDX-License-Identifier: Apache-2.0
1414
##
1515
##===----------------------------------------------------------------------===##
16+
17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the SwiftOpenAPIGenerator open source project
20+
##
21+
## Copyright (c) 2023 Apple Inc. and the SwiftOpenAPIGenerator project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.txt for the list of SwiftOpenAPIGenerator project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
1631
set -euo pipefail
1732

1833
log() { printf -- "** %s\n" "$*" >&2; }

scripts/check-for-docc-warnings.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@
1414
##
1515
##===----------------------------------------------------------------------===##
1616

17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the SwiftOpenAPIGenerator open source project
20+
##
21+
## Copyright (c) 2023 Apple Inc. and the SwiftOpenAPIGenerator project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.txt for the list of SwiftOpenAPIGenerator project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
1731
set -euo pipefail
1832

1933
log() { printf -- "** %s\n" "$*" >&2; }

scripts/check-for-unacceptable-language.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
## SPDX-License-Identifier: Apache-2.0
1414
##
1515
##===----------------------------------------------------------------------===##
16+
17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the SwiftOpenAPIGenerator open source project
20+
##
21+
## Copyright (c) 2023 Apple Inc. and the SwiftOpenAPIGenerator project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.txt for the list of SwiftOpenAPIGenerator project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
1631
set -euo pipefail
1732

1833
log() { printf -- "** %s\n" "$*" >&2; }

scripts/check-license-headers.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
## SPDX-License-Identifier: Apache-2.0
1414
##
1515
##===----------------------------------------------------------------------===##
16+
17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the SwiftOpenAPIGenerator open source project
20+
##
21+
## Copyright (c) 2023 Apple Inc. and the SwiftOpenAPIGenerator project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.txt for the list of SwiftOpenAPIGenerator project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
1631
set -euo pipefail
1732

1833
log() { printf -- "** %s\n" "$*" >&2; }

scripts/generate-contributors-list.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
## SPDX-License-Identifier: Apache-2.0
1414
##
1515
##===----------------------------------------------------------------------===##
16+
17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the SwiftOpenAPIGenerator open source project
20+
##
21+
## Copyright (c) 2023 Apple Inc. and the SwiftOpenAPIGenerator project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.txt for the list of SwiftOpenAPIGenerator project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
1631
##===----------------------------------------------------------------------===##
1732
##
1833
## This source file is part of the SwiftNIO open source project

scripts/run-swift-format.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
## SPDX-License-Identifier: Apache-2.0
1414
##
1515
##===----------------------------------------------------------------------===##
16+
17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the SwiftOpenAPIGenerator open source project
20+
##
21+
## Copyright (c) 2023 Apple Inc. and the SwiftOpenAPIGenerator project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.txt for the list of SwiftOpenAPIGenerator project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
1631
set -euo pipefail
1732

1833
log() { printf -- "** %s\n" "$*" >&2; }

scripts/soundness.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
## SPDX-License-Identifier: Apache-2.0
1414
##
1515
##===----------------------------------------------------------------------===##
16+
17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the SwiftOpenAPIGenerator open source project
20+
##
21+
## Copyright (c) 2023 Apple Inc. and the SwiftOpenAPIGenerator project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.txt for the list of SwiftOpenAPIGenerator project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
1631
set -euo pipefail
1732

1833
log() { printf -- "** %s\n" "$*" >&2; }

0 commit comments

Comments
 (0)