From 92e44dbc79910548f371aeae5700dd0dd2f314bb Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Wed, 8 Oct 2025 00:55:34 +0200 Subject: [PATCH] Updated the license of the header files of the existing files in the project. --- .env | 24 ++++++++++--------- .gitignore | 24 ++++++++++--------- Makefile | 24 ++++++++++--------- Package.swift | 20 +++++++++------- .../Extensions/String+Constants.swift | 20 +++++++++------- .../Extensions/TimeInterval+Computed.swift | 20 +++++++++------- .../Use Cases/GenerateHashUseCase.swift | 20 +++++++++------- .../Public/Middlewares/AuthMiddleware.swift | 20 +++++++++------- .../openapi-generator-config.yaml | 24 ++++++++++--------- Sources/MarvelService/openapi.yaml | 24 ++++++++++--------- .../TimeInterval+ComputedTests.swift | 20 +++++++++------- .../Use Cases/GenerateHashUseCaseTests.swift | 20 +++++++++------- .../Middlewares/AuthMiddlewareTests.swift | 20 +++++++++------- .../Types/Extensions/String+Samples.swift | 20 +++++++++------- .../Types/Extensions/Tag+Customs.swift | 20 +++++++++------- .../Types/Namespaces/Input.swift | 20 +++++++++------- .../Types/Namespaces/Output.swift | 20 +++++++++------- 17 files changed, 197 insertions(+), 163 deletions(-) diff --git a/.env b/.env index 017420da..acec056f 100644 --- a/.env +++ b/.env @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the MarvelService open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of MarvelService project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Marvel Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Marvel Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # --- DOCUMENTATION --- diff --git a/.gitignore b/.gitignore index 4416f5cf..0adcb3b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the MarvelService open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of MarvelService project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Marvel Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Marvel Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # Mac OS .DS_Store diff --git a/Makefile b/Makefile index ec03a8bf..9785bf08 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the MarvelService open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of MarvelService project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Marvel Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Marvel Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # ENVIRONMENT VARIABLES diff --git a/Package.swift b/Package.swift index a80b3bef..2256519f 100644 --- a/Package.swift +++ b/Package.swift @@ -1,16 +1,18 @@ // swift-tools-version: 5.10 -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) -2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import PackageDescription diff --git a/Sources/MarvelService/Internal/Extensions/String+Constants.swift b/Sources/MarvelService/Internal/Extensions/String+Constants.swift index f7f87042..14566797 100644 --- a/Sources/MarvelService/Internal/Extensions/String+Constants.swift +++ b/Sources/MarvelService/Internal/Extensions/String+Constants.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) -2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== extension String { /// A namespace assigned for parameter keys of URI paths. diff --git a/Sources/MarvelService/Internal/Extensions/TimeInterval+Computed.swift b/Sources/MarvelService/Internal/Extensions/TimeInterval+Computed.swift index 467ff0c2..ff547e9a 100644 --- a/Sources/MarvelService/Internal/Extensions/TimeInterval+Computed.swift +++ b/Sources/MarvelService/Internal/Extensions/TimeInterval+Computed.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) -2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import struct Foundation.TimeInterval diff --git a/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift b/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift index c40b2f37..b54158c9 100644 --- a/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift +++ b/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) -2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== #if canImport(CriptoKit) import CryptoKit diff --git a/Sources/MarvelService/Public/Middlewares/AuthMiddleware.swift b/Sources/MarvelService/Public/Middlewares/AuthMiddleware.swift index d83ca9fd..6770d94e 100644 --- a/Sources/MarvelService/Public/Middlewares/AuthMiddleware.swift +++ b/Sources/MarvelService/Public/Middlewares/AuthMiddleware.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import class OpenAPIRuntime.HTTPBody diff --git a/Sources/MarvelService/openapi-generator-config.yaml b/Sources/MarvelService/openapi-generator-config.yaml index 74fe6e1a..d1f19979 100644 --- a/Sources/MarvelService/openapi-generator-config.yaml +++ b/Sources/MarvelService/openapi-generator-config.yaml @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the MarvelService open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of MarvelService project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Marvel Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Marvel Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== generate: - types diff --git a/Sources/MarvelService/openapi.yaml b/Sources/MarvelService/openapi.yaml index b8a41eb4..de46dec7 100644 --- a/Sources/MarvelService/openapi.yaml +++ b/Sources/MarvelService/openapi.yaml @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the MarvelService open source project -# -# Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of MarvelService project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Marvel Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Marvel Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== openapi: 3.1.0 info: diff --git a/Tests/MarvelService/Cases/Internal/Extensions/TimeInterval+ComputedTests.swift b/Tests/MarvelService/Cases/Internal/Extensions/TimeInterval+ComputedTests.swift index 3ccdb0fc..77089820 100644 --- a/Tests/MarvelService/Cases/Internal/Extensions/TimeInterval+ComputedTests.swift +++ b/Tests/MarvelService/Cases/Internal/Extensions/TimeInterval+ComputedTests.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Testing diff --git a/Tests/MarvelService/Cases/Internal/Use Cases/GenerateHashUseCaseTests.swift b/Tests/MarvelService/Cases/Internal/Use Cases/GenerateHashUseCaseTests.swift index 18f35c7f..93863352 100644 --- a/Tests/MarvelService/Cases/Internal/Use Cases/GenerateHashUseCaseTests.swift +++ b/Tests/MarvelService/Cases/Internal/Use Cases/GenerateHashUseCaseTests.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Testing diff --git a/Tests/MarvelService/Cases/Public/Middlewares/AuthMiddlewareTests.swift b/Tests/MarvelService/Cases/Public/Middlewares/AuthMiddlewareTests.swift index 907b23e7..fc9e1fa0 100644 --- a/Tests/MarvelService/Cases/Public/Middlewares/AuthMiddlewareTests.swift +++ b/Tests/MarvelService/Cases/Public/Middlewares/AuthMiddlewareTests.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Testing diff --git a/Tests/MarvelService/Types/Extensions/String+Samples.swift b/Tests/MarvelService/Types/Extensions/String+Samples.swift index eb6f0d73..915372de 100644 --- a/Tests/MarvelService/Types/Extensions/String+Samples.swift +++ b/Tests/MarvelService/Types/Extensions/String+Samples.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== extension String { /// A namespace assigned for Marvel API key samples. diff --git a/Tests/MarvelService/Types/Extensions/Tag+Customs.swift b/Tests/MarvelService/Types/Extensions/Tag+Customs.swift index 1565b12e..555c6460 100644 --- a/Tests/MarvelService/Types/Extensions/Tag+Customs.swift +++ b/Tests/MarvelService/Types/Extensions/Tag+Customs.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Testing diff --git a/Tests/MarvelService/Types/Namespaces/Input.swift b/Tests/MarvelService/Types/Namespaces/Input.swift index 42ed60c9..72e31a32 100644 --- a/Tests/MarvelService/Types/Namespaces/Input.swift +++ b/Tests/MarvelService/Types/Namespaces/Input.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import struct Foundation.Date import struct Foundation.TimeInterval diff --git a/Tests/MarvelService/Types/Namespaces/Output.swift b/Tests/MarvelService/Types/Namespaces/Output.swift index 0bc713eb..32d87f4e 100644 --- a/Tests/MarvelService/Types/Namespaces/Output.swift +++ b/Tests/MarvelService/Types/Namespaces/Output.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the MarvelService open source project -// -// Copyright (c) 2025 Röck+Cöde VoF. and the MarvelService project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Marvel Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of MarvelService project authors +// See CONTRIBUTORS for the list of Marvel Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A namespace assigned for output arguments on test cases, that are expected results. enum Output {}