diff --git a/Package.swift b/Package.swift index 7cca396..900f2e9 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,13 @@ // swift-tools-version:5.5 -// The swift-tools-version declares the minimum version of Swift required to build this package. +// The swift-tools-version declares the minimum version of Swift required to build this package. +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import PackageDescription diff --git a/Sources/ApodiniDocumentExport.docc/ApodiniDocumentExport.md.license b/Sources/ApodiniDocumentExport.docc/ApodiniDocumentExport.md.license new file mode 100644 index 0000000..ba0b115 --- /dev/null +++ b/Sources/ApodiniDocumentExport.docc/ApodiniDocumentExport.md.license @@ -0,0 +1,7 @@ + +This source file is part of the Apodini open source project + +SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT + \ No newline at end of file diff --git a/Sources/ApodiniDocumentExport/ExportOptions.swift b/Sources/ApodiniDocumentExport/ExportOptions.swift index f36839b..b962110 100644 --- a/Sources/ApodiniDocumentExport/ExportOptions.swift +++ b/Sources/ApodiniDocumentExport/ExportOptions.swift @@ -1,3 +1,11 @@ +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import Foundation import ArgumentParser diff --git a/Sources/ApodiniDocumentExport/Extensions/Decodable+Extensions.swift b/Sources/ApodiniDocumentExport/Extensions/Decodable+Extensions.swift index 3ff49dc..2d07405 100644 --- a/Sources/ApodiniDocumentExport/Extensions/Decodable+Extensions.swift +++ b/Sources/ApodiniDocumentExport/Extensions/Decodable+Extensions.swift @@ -1,3 +1,11 @@ +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import Foundation import PathKit @_implementationOnly import Yams diff --git a/Sources/ApodiniDocumentExport/Extensions/Encodable+Extensions.swift b/Sources/ApodiniDocumentExport/Extensions/Encodable+Extensions.swift index 439c33b..ced134a 100644 --- a/Sources/ApodiniDocumentExport/Extensions/Encodable+Extensions.swift +++ b/Sources/ApodiniDocumentExport/Extensions/Encodable+Extensions.swift @@ -1,3 +1,11 @@ +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import Foundation @_implementationOnly import FineJSON @_implementationOnly import RichJSONParser diff --git a/Sources/ApodiniDocumentExport/Extensions/String+Extensions.swift b/Sources/ApodiniDocumentExport/Extensions/String+Extensions.swift index 0c72821..78c4591 100644 --- a/Sources/ApodiniDocumentExport/Extensions/String+Extensions.swift +++ b/Sources/ApodiniDocumentExport/Extensions/String+Extensions.swift @@ -1,3 +1,11 @@ +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import Foundation import PathKit diff --git a/Sources/ApodiniDocumentExport/FileExtension.swift b/Sources/ApodiniDocumentExport/FileExtension.swift index 1d5eeaa..2c264c2 100644 --- a/Sources/ApodiniDocumentExport/FileExtension.swift +++ b/Sources/ApodiniDocumentExport/FileExtension.swift @@ -1,3 +1,11 @@ +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import Foundation import PathKit diff --git a/Sources/ApodiniDocumentExport/OutputFormat.swift b/Sources/ApodiniDocumentExport/OutputFormat.swift index d343e0f..de41688 100644 --- a/Sources/ApodiniDocumentExport/OutputFormat.swift +++ b/Sources/ApodiniDocumentExport/OutputFormat.swift @@ -1,3 +1,11 @@ +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import Foundation /// OutputFormat cases for encodable instances diff --git a/Sources/ApodiniDocumentExport/Value.swift b/Sources/ApodiniDocumentExport/Value.swift index 484adf7..7ea09b2 100644 --- a/Sources/ApodiniDocumentExport/Value.swift +++ b/Sources/ApodiniDocumentExport/Value.swift @@ -1,3 +1,11 @@ +// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + import Foundation /// A protocol that requires conformance to `Codable` and `Hashable` (also `Equatable`) diff --git a/Tests/ApodiniDocumentExportTests/ApodiniDocumentExportTests.swift b/Tests/ApodiniDocumentExportTests/ApodiniDocumentExportTests.swift index 5db7ca3..188bdf1 100644 --- a/Tests/ApodiniDocumentExportTests/ApodiniDocumentExportTests.swift +++ b/Tests/ApodiniDocumentExportTests/ApodiniDocumentExportTests.swift @@ -1,10 +1,12 @@ // -// ApodiniDocumentExportTests.swift -// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) // -// Created by Valentin Bootz on 29.01.22. +// SPDX-License-Identifier: MIT // + import Foundation import XCTest import PathKit diff --git a/Tests/ApodiniDocumentExportTests/Document.swift b/Tests/ApodiniDocumentExportTests/Document.swift index 087d225..bd840be 100644 --- a/Tests/ApodiniDocumentExportTests/Document.swift +++ b/Tests/ApodiniDocumentExportTests/Document.swift @@ -1,10 +1,12 @@ // -// File.swift -// +// This source file is part of the Apodini open source project +// +// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) // -// Created by Valentin Bootz on 29.01.22. +// SPDX-License-Identifier: MIT // + import ApodiniDocumentExport struct Document: Value { diff --git a/Tests/ApodiniDocumentExportTests/document.json.license b/Tests/ApodiniDocumentExportTests/document.json.license new file mode 100644 index 0000000..ba0b115 --- /dev/null +++ b/Tests/ApodiniDocumentExportTests/document.json.license @@ -0,0 +1,7 @@ + +This source file is part of the Apodini open source project + +SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) + +SPDX-License-Identifier: MIT + \ No newline at end of file