diff --git a/.env b/.env index cd8d64f..9176847 100644 --- a/.env +++ b/.env @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the AmiiboService open source project -# -# Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of AmiiboAPI project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Amiibo Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Amiibo Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # --- DOCUMENTATION --- diff --git a/.gitignore b/.gitignore index 8fbf40e..79817ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,17 @@ +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Amiibo Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Amiibo Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== + # Mac OS .DS_Store .netrc diff --git a/.spi.yml b/.spi.yml index 0916511..de5d297 100644 --- a/.spi.yml +++ b/.spi.yml @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the AmiiboService open source project -# -# Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of AmiiboAPI project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Amiibo Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Amiibo Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== version: 1 external_links: diff --git a/Makefile b/Makefile index dea1a8a..1392a7a 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the AmiiboService open source project -# -# Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of AmiiboAPI project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Amiibo Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Amiibo Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== # ENVIRONMENT VARIABLES diff --git a/Package.swift b/Package.swift index bc82881..95db45b 100644 --- a/Package.swift +++ b/Package.swift @@ -1,16 +1,18 @@ // swift-tools-version: 5.10 -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import PackageDescription diff --git a/Sources/AmiiboService/Internal/Extensions/DateFormatter+Properties.swift b/Sources/AmiiboService/Internal/Extensions/DateFormatter+Properties.swift index 69818bf..61f33d7 100644 --- a/Sources/AmiiboService/Internal/Extensions/DateFormatter+Properties.swift +++ b/Sources/AmiiboService/Internal/Extensions/DateFormatter+Properties.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Foundation diff --git a/Sources/AmiiboService/Internal/Protocols/KeyNameFilter.swift b/Sources/AmiiboService/Internal/Protocols/KeyNameFilter.swift index 3460cf5..9fe5531 100644 --- a/Sources/AmiiboService/Internal/Protocols/KeyNameFilter.swift +++ b/Sources/AmiiboService/Internal/Protocols/KeyNameFilter.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A protocol that defines filters that might contain `key` and/or `name` values. protocol KeyNameFilter { diff --git a/Sources/AmiiboService/Internal/Protocols/KeyNameModel.swift b/Sources/AmiiboService/Internal/Protocols/KeyNameModel.swift index 64c0d73..1e704a4 100644 --- a/Sources/AmiiboService/Internal/Protocols/KeyNameModel.swift +++ b/Sources/AmiiboService/Internal/Protocols/KeyNameModel.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A protocol that defines decodable models containing the `key` and `name` properties. protocol KeyNameModel: Sendable { diff --git a/Sources/AmiiboService/Internal/Transcoders/ISOTimestampTranscoder.swift b/Sources/AmiiboService/Internal/Transcoders/ISOTimestampTranscoder.swift index 90eb7c2..7e23002 100644 --- a/Sources/AmiiboService/Internal/Transcoders/ISOTimestampTranscoder.swift +++ b/Sources/AmiiboService/Internal/Transcoders/ISOTimestampTranscoder.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Foundation import OpenAPIRuntime diff --git a/Sources/AmiiboService/Public/Clients/AmiiboLiveClient.swift b/Sources/AmiiboService/Public/Clients/AmiiboLiveClient.swift index d954dc0..545019f 100644 --- a/Sources/AmiiboService/Public/Clients/AmiiboLiveClient.swift +++ b/Sources/AmiiboService/Public/Clients/AmiiboLiveClient.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Foundation import OpenAPIRuntime diff --git a/Sources/AmiiboService/Public/Errors/AmiiboServiceError.swift b/Sources/AmiiboService/Public/Errors/AmiiboServiceError.swift index 353e30d..bd3af36 100644 --- a/Sources/AmiiboService/Public/Errors/AmiiboServiceError.swift +++ b/Sources/AmiiboService/Public/Errors/AmiiboServiceError.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A representation of all the possible errors that the ``AmiiboService`` service could throw. public enum AmiiboServiceError: Error { diff --git a/Sources/AmiiboService/Public/Filters/AmiiboFilter.swift b/Sources/AmiiboService/Public/Filters/AmiiboFilter.swift index dea63b4..bad4a01 100644 --- a/Sources/AmiiboService/Public/Filters/AmiiboFilter.swift +++ b/Sources/AmiiboService/Public/Filters/AmiiboFilter.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A type that contains values to fine-tune a response when requesting amiibo items. public struct AmiiboFilter: Sendable { diff --git a/Sources/AmiiboService/Public/Filters/AmiiboSeriesFilter.swift b/Sources/AmiiboService/Public/Filters/AmiiboSeriesFilter.swift index fdb5a3f..a444ea1 100644 --- a/Sources/AmiiboService/Public/Filters/AmiiboSeriesFilter.swift +++ b/Sources/AmiiboService/Public/Filters/AmiiboSeriesFilter.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A type that contains values to fine-tune a response when requesting amiibo series. public struct AmiiboSeriesFilter: KeyNameFilter, Sendable { diff --git a/Sources/AmiiboService/Public/Filters/AmiiboTypeFilter.swift b/Sources/AmiiboService/Public/Filters/AmiiboTypeFilter.swift index 4e1c4af..cebe6a7 100644 --- a/Sources/AmiiboService/Public/Filters/AmiiboTypeFilter.swift +++ b/Sources/AmiiboService/Public/Filters/AmiiboTypeFilter.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A type that contains values to fine-tune a response when requesting amiibo types. public struct AmiiboTypeFilter: KeyNameFilter, Sendable { diff --git a/Sources/AmiiboService/Public/Filters/GameCharacterFilter.swift b/Sources/AmiiboService/Public/Filters/GameCharacterFilter.swift index e7937df..cca05e5 100644 --- a/Sources/AmiiboService/Public/Filters/GameCharacterFilter.swift +++ b/Sources/AmiiboService/Public/Filters/GameCharacterFilter.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A type that contains values to fine-tune a response when requesting game characters. public struct GameCharacterFilter: KeyNameFilter, Sendable { diff --git a/Sources/AmiiboService/Public/Filters/GameSeriesFilter.swift b/Sources/AmiiboService/Public/Filters/GameSeriesFilter.swift index d38ea99..584c15f 100644 --- a/Sources/AmiiboService/Public/Filters/GameSeriesFilter.swift +++ b/Sources/AmiiboService/Public/Filters/GameSeriesFilter.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A type that contains values to fine-tune a response when requesting game series. public struct GameSeriesFilter: KeyNameFilter, Sendable { diff --git a/Sources/AmiiboService/Public/Models/Amiibo.swift b/Sources/AmiiboService/Public/Models/Amiibo.swift index eef921a..80e531c 100644 --- a/Sources/AmiiboService/Public/Models/Amiibo.swift +++ b/Sources/AmiiboService/Public/Models/Amiibo.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Foundation diff --git a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Game.swift b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Game.swift index f4e3be9..d1e0e16 100644 --- a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Game.swift +++ b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Game.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== extension Amiibo { /// A model that represents a game related to an amiibo item. diff --git a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Platform.swift b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Platform.swift index d639c50..0a8ae83 100644 --- a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Platform.swift +++ b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Platform.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== extension Amiibo { /// A model that represents a collection of `WiiU`, `3DS`, and `Switch` games related to an amiibo item. diff --git a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Release.swift b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Release.swift index 6c2c302..7c172b4 100644 --- a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Release.swift +++ b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Release.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Foundation diff --git a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Usage.swift b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Usage.swift index 68bda05..35939c9 100644 --- a/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Usage.swift +++ b/Sources/AmiiboService/Public/Models/Amiibo/Amiibo+Usage.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== extension Amiibo { /// A model that represents the usage of an amiibo item within a certain game. diff --git a/Sources/AmiiboService/Public/Models/AmiiboSeries.swift b/Sources/AmiiboService/Public/Models/AmiiboSeries.swift index 2b6b106..d58c331 100644 --- a/Sources/AmiiboService/Public/Models/AmiiboSeries.swift +++ b/Sources/AmiiboService/Public/Models/AmiiboSeries.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A model that represents an amiibo series. public struct AmiiboSeries: KeyNameModel { diff --git a/Sources/AmiiboService/Public/Models/AmiiboType.swift b/Sources/AmiiboService/Public/Models/AmiiboType.swift index 5031ddd..ea8050c 100644 --- a/Sources/AmiiboService/Public/Models/AmiiboType.swift +++ b/Sources/AmiiboService/Public/Models/AmiiboType.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A model that represents an amiibo type. public struct AmiiboType: KeyNameModel { diff --git a/Sources/AmiiboService/Public/Models/GameCharacter.swift b/Sources/AmiiboService/Public/Models/GameCharacter.swift index 5928154..6cf3920 100644 --- a/Sources/AmiiboService/Public/Models/GameCharacter.swift +++ b/Sources/AmiiboService/Public/Models/GameCharacter.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A model that represents a game character. public struct GameCharacter: KeyNameModel { diff --git a/Sources/AmiiboService/Public/Models/GameSeries.swift b/Sources/AmiiboService/Public/Models/GameSeries.swift index eef5dbd..5fb577c 100644 --- a/Sources/AmiiboService/Public/Models/GameSeries.swift +++ b/Sources/AmiiboService/Public/Models/GameSeries.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== /// A model that represents a game series. public struct GameSeries: KeyNameModel { diff --git a/Sources/AmiiboService/Public/Protocols/AmiiboClient.swift b/Sources/AmiiboService/Public/Protocols/AmiiboClient.swift index 288b755..53ede89 100644 --- a/Sources/AmiiboService/Public/Protocols/AmiiboClient.swift +++ b/Sources/AmiiboService/Public/Protocols/AmiiboClient.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Foundation diff --git a/Sources/AmiiboService/Public/Services/AmiiboService.swift b/Sources/AmiiboService/Public/Services/AmiiboService.swift index 51e9bd1..3594b83 100644 --- a/Sources/AmiiboService/Public/Services/AmiiboService.swift +++ b/Sources/AmiiboService/Public/Services/AmiiboService.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Foundation diff --git a/Sources/AmiiboService/openapi-generator-config.yaml b/Sources/AmiiboService/openapi-generator-config.yaml index e6015bb..18f84de 100644 --- a/Sources/AmiiboService/openapi-generator-config.yaml +++ b/Sources/AmiiboService/openapi-generator-config.yaml @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the AmiiboService open source project -# -# Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of AmiiboAPI project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Amiibo Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Amiibo Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== generate: - types diff --git a/Sources/AmiiboService/openapi.yaml b/Sources/AmiiboService/openapi.yaml index 69744f6..5806e11 100644 --- a/Sources/AmiiboService/openapi.yaml +++ b/Sources/AmiiboService/openapi.yaml @@ -1,14 +1,16 @@ -# ===----------------------------------------------------------------------=== -# -# This source file is part of the AmiiboService open source project -# -# Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -# Licensed under the EUPL 1.2 or later. -# -# See LICENSE for license information -# See CONTRIBUTORS for the list of AmiiboAPI project authors -# -# ===----------------------------------------------------------------------=== +## ===----------------------------------------------------------------------=== +## +## This source file is part of the Amiibo Service open source project +## +## Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +## Licensed under Apache license v2.0 +## +## See LICENSE for license information +## See CONTRIBUTORS for the list of Amiibo Service project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +## ===----------------------------------------------------------------------=== openapi: '3.1.1' info: diff --git a/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift b/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift index 7bc8d50..6b69ed9 100644 --- a/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift +++ b/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import AmiiboService import Foundation diff --git a/Tests/AmiiboService/Types/Clients/AmiiboMockClient.swift b/Tests/AmiiboService/Types/Clients/AmiiboMockClient.swift index ecca2c1..3e5bcc9 100644 --- a/Tests/AmiiboService/Types/Clients/AmiiboMockClient.swift +++ b/Tests/AmiiboService/Types/Clients/AmiiboMockClient.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import AmiiboService import Foundation diff --git a/Tests/AmiiboService/Types/Extensions/Tag+Customs.swift b/Tests/AmiiboService/Types/Extensions/Tag+Customs.swift index 6b9d64d..c4552d1 100644 --- a/Tests/AmiiboService/Types/Extensions/Tag+Customs.swift +++ b/Tests/AmiiboService/Types/Extensions/Tag+Customs.swift @@ -1,14 +1,16 @@ -//===----------------------------------------------------------------------=== -// -// This source file is part of the AmiiboService open source project -// -// Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors -// Licensed under the EUPL 1.2 or later. -// +// ===----------------------------------------------------------------------=== +// +// This source file is part of the Amiibo Service open source project +// +// Copyright (c) 2025 Röck+Cöde VoF. and the Amiibo Service project authors +// Licensed under Apache license v2.0 +// // See LICENSE for license information -// See CONTRIBUTORS for the list of AmiiboAPI project authors +// See CONTRIBUTORS for the list of Amiibo Service project authors // -//===----------------------------------------------------------------------=== +// SPDX-License-Identifier: Apache-2.0 +// +// ===----------------------------------------------------------------------=== import Testing