diff --git a/.env b/.env index 8916f17..eeb7fc3 100644 --- a/.env +++ b/.env @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the Hummingbird DocC Middleware open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Hummingbird DocC open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Hummingbird DocC project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # --- DOCUMENTATION --- diff --git a/.gitignore b/.gitignore index f27a0d4..a0b47ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the Hummingbird DocC Middleware open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Hummingbird DocC open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Hummingbird DocC project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # Mac OS .DS_Store diff --git a/Makefile b/Makefile index 7180b6d..85cac3c 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the Hummingbird DocC Middleware open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Hummingbird DocC open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Hummingbird DocC project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # ENVIRONMENT VARIABLES diff --git a/Package.swift b/Package.swift index ed22d10..1fb3f8b 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,19 @@ // swift-tools-version: 6.0 +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// +// See LICENSE for license information +// See CONTRIBUTORS for the list of Hummingbird DocC project authors +// +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== + import PackageDescription let package = Package( diff --git a/Samples/HummingbirdDocC/App/Builders/AppBuilder.swift b/Samples/HummingbirdDocC/App/Builders/AppBuilder.swift index 9fb1639..6557636 100644 --- a/Samples/HummingbirdDocC/App/Builders/AppBuilder.swift +++ b/Samples/HummingbirdDocC/App/Builders/AppBuilder.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import class Hummingbird.Router diff --git a/Samples/HummingbirdDocC/App/Parameters/SampleAppArguments.swift b/Samples/HummingbirdDocC/App/Parameters/SampleAppArguments.swift index f0ecde9..4bdb0ab 100644 --- a/Samples/HummingbirdDocC/App/Parameters/SampleAppArguments.swift +++ b/Samples/HummingbirdDocC/App/Parameters/SampleAppArguments.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol ArgumentParser.ParsableArguments diff --git a/Samples/HummingbirdDocC/App/Protocols/AppArguments.swift b/Samples/HummingbirdDocC/App/Protocols/AppArguments.swift index 7fbb496..407f415 100644 --- a/Samples/HummingbirdDocC/App/Protocols/AppArguments.swift +++ b/Samples/HummingbirdDocC/App/Protocols/AppArguments.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol ArgumentParser.ExpressibleByArgument diff --git a/Samples/HummingbirdDocC/App/SampleApp.swift b/Samples/HummingbirdDocC/App/SampleApp.swift index 5d35bc7..e294093 100644 --- a/Samples/HummingbirdDocC/App/SampleApp.swift +++ b/Samples/HummingbirdDocC/App/SampleApp.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol ArgumentParser.AsyncParsableCommand diff --git a/Sources/HummingbirdDocC/Internal/Enumerations/AssetFile.swift b/Sources/HummingbirdDocC/Internal/Enumerations/AssetFile.swift index 89de2c7..fbf5e37 100644 --- a/Sources/HummingbirdDocC/Internal/Enumerations/AssetFile.swift +++ b/Sources/HummingbirdDocC/Internal/Enumerations/AssetFile.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== /// An enumeration that represents the essential static files that could be generated by the `DocC` building process. diff --git a/Sources/HummingbirdDocC/Internal/Enumerations/AssetFolder.swift b/Sources/HummingbirdDocC/Internal/Enumerations/AssetFolder.swift index dd7ea2c..b0700b9 100644 --- a/Sources/HummingbirdDocC/Internal/Enumerations/AssetFolder.swift +++ b/Sources/HummingbirdDocC/Internal/Enumerations/AssetFolder.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== /// An enumeration that represents all possible asset folders that could be generated by the `DocC` building process. diff --git a/Sources/HummingbirdDocC/Internal/Enumerations/DocumentationFolder.swift b/Sources/HummingbirdDocC/Internal/Enumerations/DocumentationFolder.swift index 403d585..b2b5b19 100644 --- a/Sources/HummingbirdDocC/Internal/Enumerations/DocumentationFolder.swift +++ b/Sources/HummingbirdDocC/Internal/Enumerations/DocumentationFolder.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== /// An enumeration that represents the documentation folders that could be generated by the `DocC` building process. diff --git a/Sources/HummingbirdDocC/Internal/Extensions/LoggerMetadata+Helpers.swift b/Sources/HummingbirdDocC/Internal/Extensions/LoggerMetadata+Helpers.swift index bddde68..4265dc3 100644 --- a/Sources/HummingbirdDocC/Internal/Extensions/LoggerMetadata+Helpers.swift +++ b/Sources/HummingbirdDocC/Internal/Extensions/LoggerMetadata+Helpers.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol Hummingbird.RequestContext diff --git a/Sources/HummingbirdDocC/Internal/Extensions/String+Constants.swift b/Sources/HummingbirdDocC/Internal/Extensions/String+Constants.swift index 205cfc1..9ec700f 100644 --- a/Sources/HummingbirdDocC/Internal/Extensions/String+Constants.swift +++ b/Sources/HummingbirdDocC/Internal/Extensions/String+Constants.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== extension String { diff --git a/Sources/HummingbirdDocC/Internal/Extensions/String+Formats.swift b/Sources/HummingbirdDocC/Internal/Extensions/String+Formats.swift index d425b2b..9f2c662 100644 --- a/Sources/HummingbirdDocC/Internal/Extensions/String+Formats.swift +++ b/Sources/HummingbirdDocC/Internal/Extensions/String+Formats.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== extension String { diff --git a/Sources/HummingbirdDocC/Internal/Extensions/String+Helpers.swift b/Sources/HummingbirdDocC/Internal/Extensions/String+Helpers.swift index dc00ff3..2851979 100644 --- a/Sources/HummingbirdDocC/Internal/Extensions/String+Helpers.swift +++ b/Sources/HummingbirdDocC/Internal/Extensions/String+Helpers.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import RegexBuilder diff --git a/Sources/HummingbirdDocC/Internal/Models/Resource.swift b/Sources/HummingbirdDocC/Internal/Models/Resource.swift index db07960..77ff59a 100644 --- a/Sources/HummingbirdDocC/Internal/Models/Resource.swift +++ b/Sources/HummingbirdDocC/Internal/Models/Resource.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== /// A model that encapsulates the information related to a resource in a given `DocC` documentation archive. diff --git a/Sources/HummingbirdDocC/Internal/Protocols/Pathable.swift b/Sources/HummingbirdDocC/Internal/Protocols/Pathable.swift index b3e3425..4bdc62c 100644 --- a/Sources/HummingbirdDocC/Internal/Protocols/Pathable.swift +++ b/Sources/HummingbirdDocC/Internal/Protocols/Pathable.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== /// A protocol that provides a relative path representation. diff --git a/Sources/HummingbirdDocC/Internal/Pseudo Types/ContextualInfo.swift b/Sources/HummingbirdDocC/Internal/Pseudo Types/ContextualInfo.swift index fbfb148..89bab09 100644 --- a/Sources/HummingbirdDocC/Internal/Pseudo Types/ContextualInfo.swift +++ b/Sources/HummingbirdDocC/Internal/Pseudo Types/ContextualInfo.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol Hummingbird.RequestContext diff --git a/Sources/HummingbirdDocC/Internal/Use Cases/CheckURIUseCase.swift b/Sources/HummingbirdDocC/Internal/Use Cases/CheckURIUseCase.swift index 6c72f94..911173c 100644 --- a/Sources/HummingbirdDocC/Internal/Use Cases/CheckURIUseCase.swift +++ b/Sources/HummingbirdDocC/Internal/Use Cases/CheckURIUseCase.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import struct HummingbirdCore.URI diff --git a/Sources/HummingbirdDocC/Internal/Use Cases/PrepareURIPathUseCase.swift b/Sources/HummingbirdDocC/Internal/Use Cases/PrepareURIPathUseCase.swift index d5f9b38..54bda65 100644 --- a/Sources/HummingbirdDocC/Internal/Use Cases/PrepareURIPathUseCase.swift +++ b/Sources/HummingbirdDocC/Internal/Use Cases/PrepareURIPathUseCase.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import Foundation diff --git a/Sources/HummingbirdDocC/Internal/Use Cases/RedirectURIUseCase.swift b/Sources/HummingbirdDocC/Internal/Use Cases/RedirectURIUseCase.swift index 8b226a1..fba04fb 100644 --- a/Sources/HummingbirdDocC/Internal/Use Cases/RedirectURIUseCase.swift +++ b/Sources/HummingbirdDocC/Internal/Use Cases/RedirectURIUseCase.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import struct Hummingbird.Response diff --git a/Sources/HummingbirdDocC/Internal/Use Cases/ServeURIUseCase.swift b/Sources/HummingbirdDocC/Internal/Use Cases/ServeURIUseCase.swift index fa54fe1..ee48e0c 100644 --- a/Sources/HummingbirdDocC/Internal/Use Cases/ServeURIUseCase.swift +++ b/Sources/HummingbirdDocC/Internal/Use Cases/ServeURIUseCase.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol Hummingbird.FileProvider diff --git a/Sources/HummingbirdDocC/Public/Configurations/DoccConfiguration.swift b/Sources/HummingbirdDocC/Public/Configurations/DoccConfiguration.swift index 760b784..ceb24fa 100644 --- a/Sources/HummingbirdDocC/Public/Configurations/DoccConfiguration.swift +++ b/Sources/HummingbirdDocC/Public/Configurations/DoccConfiguration.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import class NIOPosix.NIOThreadPool diff --git a/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift b/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift index 8d3f79b..d6bbfd6 100644 --- a/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift +++ b/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol Hummingbird.FileProvider diff --git a/Tests/HummingbirdDocC/Types/Extensions/Logger+Helpers.swift b/Tests/HummingbirdDocC/Types/Extensions/Logger+Helpers.swift index 70e6b5f..6c0cb42 100644 --- a/Tests/HummingbirdDocC/Types/Extensions/Logger+Helpers.swift +++ b/Tests/HummingbirdDocC/Types/Extensions/Logger+Helpers.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import Foundation diff --git a/Tests/HummingbirdDocC/Types/Extensions/LoggerLevel+Helpers.swift b/Tests/HummingbirdDocC/Types/Extensions/LoggerLevel+Helpers.swift index 680ca8d..853a934 100644 --- a/Tests/HummingbirdDocC/Types/Extensions/LoggerLevel+Helpers.swift +++ b/Tests/HummingbirdDocC/Types/Extensions/LoggerLevel+Helpers.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import Testing diff --git a/Tests/HummingbirdDocC/Types/Extensions/Request+Helpers.swift b/Tests/HummingbirdDocC/Types/Extensions/Request+Helpers.swift index 54ebd8a..c3b8d96 100644 --- a/Tests/HummingbirdDocC/Types/Extensions/Request+Helpers.swift +++ b/Tests/HummingbirdDocC/Types/Extensions/Request+Helpers.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import struct Hummingbird.HTTPRequest diff --git a/Tests/HummingbirdDocC/Types/Extensions/String+Constants.swift b/Tests/HummingbirdDocC/Types/Extensions/String+Constants.swift index c41d580..ab7301b 100644 --- a/Tests/HummingbirdDocC/Types/Extensions/String+Constants.swift +++ b/Tests/HummingbirdDocC/Types/Extensions/String+Constants.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== extension String { diff --git a/Tests/HummingbirdDocC/Types/Extensions/Tag+Constants.swift b/Tests/HummingbirdDocC/Types/Extensions/Tag+Constants.swift index 3ec4dc1..af2410a 100644 --- a/Tests/HummingbirdDocC/Types/Extensions/Tag+Constants.swift +++ b/Tests/HummingbirdDocC/Types/Extensions/Tag+Constants.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import Testing diff --git a/Tests/HummingbirdDocC/Types/Mocks/FileProviderMock.swift b/Tests/HummingbirdDocC/Types/Mocks/FileProviderMock.swift index 645b34d..b74d32f 100644 --- a/Tests/HummingbirdDocC/Types/Mocks/FileProviderMock.swift +++ b/Tests/HummingbirdDocC/Types/Mocks/FileProviderMock.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import protocol Hummingbird.FileProvider diff --git a/Tests/HummingbirdDocC/Types/Mocks/LogHandlerMock.swift b/Tests/HummingbirdDocC/Types/Mocks/LogHandlerMock.swift index fa67e3c..5073a65 100644 --- a/Tests/HummingbirdDocC/Types/Mocks/LogHandlerMock.swift +++ b/Tests/HummingbirdDocC/Types/Mocks/LogHandlerMock.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import Foundation diff --git a/Tests/HummingbirdDocC/Types/Mocks/RequestContextMock.swift b/Tests/HummingbirdDocC/Types/Mocks/RequestContextMock.swift index fe8b866..c9fa9e1 100644 --- a/Tests/HummingbirdDocC/Types/Mocks/RequestContextMock.swift +++ b/Tests/HummingbirdDocC/Types/Mocks/RequestContextMock.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import class NIOEmbedded.NIOAsyncTestingChannel diff --git a/Tests/HummingbirdDocC/Types/Namespaces/Input.swift b/Tests/HummingbirdDocC/Types/Namespaces/Input.swift index cd82e1a..1033f3f 100644 --- a/Tests/HummingbirdDocC/Types/Namespaces/Input.swift +++ b/Tests/HummingbirdDocC/Types/Namespaces/Input.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== /// A namespace assigned for test arguments diff --git a/Tests/HummingbirdDocC/Types/Namespaces/Output.swift b/Tests/HummingbirdDocC/Types/Namespaces/Output.swift index 0773041..1a92400 100644 --- a/Tests/HummingbirdDocC/Types/Namespaces/Output.swift +++ b/Tests/HummingbirdDocC/Types/Namespaces/Output.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== /// A namespace assigned for test arguments that would be expected outputs coming from results of test cases. diff --git a/Tests/HummingbirdDocC/Types/Stubs/FileProviderStub.swift b/Tests/HummingbirdDocC/Types/Stubs/FileProviderStub.swift index ab4f4b3..d93d8c9 100644 --- a/Tests/HummingbirdDocC/Types/Stubs/FileProviderStub.swift +++ b/Tests/HummingbirdDocC/Types/Stubs/FileProviderStub.swift @@ -1,13 +1,15 @@ // ===----------------------------------------------------------------------=== -// -// This source file is part of the Hummingbird DocC Middleware open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC Middleware project authors -// Licensed under the EUPL 1.2 or later. -// +// +// This source file is part of the Hummingbird DocC open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Hummingbird DocC project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of Hummingbird DocC Middleware project authors +// See CONTRIBUTORS for the list of Hummingbird DocC project authors // +// SPDX-License-Identifier: Apache-2.0 +// // ===----------------------------------------------------------------------=== import Hummingbird