Improved the public API documentation in the library.
This commit is contained in:
@@ -34,7 +34,9 @@ public struct Amiibo: Sendable, Hashable {
|
||||
/// The name of this amiibo.
|
||||
public let name: String
|
||||
|
||||
/// The game platform data for this amiibo, if available.
|
||||
/// The related games of this amiibo, grouped by platform.
|
||||
///
|
||||
/// This value is `nil` unless the request sets ``AmiiboFilter/showGames`` or ``AmiiboFilter/showUsage``, or when the amiibo has no related games.
|
||||
public let platform: Platform?
|
||||
|
||||
/// The release dates of this amiibo across different regions.
|
||||
|
||||
@@ -24,7 +24,7 @@ extension Amiibo {
|
||||
/// The name of this game.
|
||||
public let name: String
|
||||
|
||||
/// A list of amiibo usages within this game, if available.
|
||||
/// A list of amiibo usages within this game, or `nil` unless the request sets ``AmiiboFilter/showUsage``.
|
||||
public let usages: [Usage]?
|
||||
|
||||
// MARK: Initializers
|
||||
|
||||
Reference in New Issue
Block a user