Added the CONTRIBUTORS file to the package.

This commit is contained in:
2024-09-07 11:17:36 +02:00
parent 4f5baeaa11
commit 72e57185f9
26 changed files with 105 additions and 43 deletions
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
import OpenAPIURLSession
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
import Foundation
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
protocol KeyNameFilter {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
protocol KeyNameModel: Sendable {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
import Foundation
import OpenAPIRuntime
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public enum AmiiboServiceError: Error {
case badRequest
+2 -2
View File
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct AmiiboFilter {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct AmiiboSeriesFilter: KeyNameFilter {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct AmiiboTypeFilter: KeyNameFilter {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct GameCharacterFilter: KeyNameFilter {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct GameSeriesFilter: KeyNameFilter {
+2 -2
View File
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
import Foundation
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
extension Amiibo {
public struct Game: Sendable {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
extension Amiibo {
public struct Platform: Sendable {
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
import Foundation
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
extension Amiibo {
public struct Usage: Sendable {
+2 -2
View File
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct AmiiboSeries: KeyNameModel {
+2 -2
View File
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct AmiiboType: KeyNameModel {
+2 -2
View File
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct GameCharacter: KeyNameModel {
+2 -2
View File
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
public struct GameSeries: KeyNameModel {
+2 -2
View File
@@ -1,4 +1,4 @@
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
//
// This source file is part of the AmiiboAPI open source project
//
@@ -8,7 +8,7 @@
// See LICENSE for license information
// See CONTRIBUTORS for the list of AmiiboAPI project authors
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===
import Foundation
import OpenAPIRuntime
+12
View File
@@ -1,3 +1,15 @@
# ===----------------------------------------------------------------------===
#
# This source file is part of the AmiiboAPI open source project
#
# Copyright (c) 2024 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
#
# ===----------------------------------------------------------------------===
generate:
- types
- client
+12
View File
@@ -1,3 +1,15 @@
# ===----------------------------------------------------------------------===
#
# This source file is part of the AmiiboAPI open source project
#
# Copyright (c) 2024 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
#
# ===----------------------------------------------------------------------===
openapi: '3.1.0'
info:
title: Amiibo API service