Patched (temporarily) the DocC documentation #8
@@ -13,23 +13,33 @@
|
|||||||
/// A type that contains values to fine-tune a response when requesting amiibo series.
|
/// A type that contains values to fine-tune a response when requesting amiibo series.
|
||||||
public struct AmiiboSeriesFilter: KeyNameFilter {
|
public struct AmiiboSeriesFilter: KeyNameFilter {
|
||||||
|
|
||||||
|
// TODO: Remove the documentation from the properties and initializers of this type as the `--enable-inherited-docs` flag when generating DocC documentation is not working as intended (?).
|
||||||
|
|
||||||
// MARK: Properties
|
// MARK: Properties
|
||||||
|
|
||||||
|
/// A key to return, if any.
|
||||||
public let key: String?
|
public let key: String?
|
||||||
|
|
||||||
|
/// A name to return, if any.
|
||||||
public let name: String?
|
public let name: String?
|
||||||
|
|
||||||
// MARK: Initializers
|
// MARK: Initializers
|
||||||
|
|
||||||
|
/// Initializes this filter without key or name values.
|
||||||
public init() {
|
public init() {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a key value.
|
||||||
|
/// - Parameter key: A key to return.
|
||||||
public init(key: String) {
|
public init(key: String) {
|
||||||
self.key = key
|
self.key = key
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a name value.
|
||||||
|
/// - Parameter name: A name to return.
|
||||||
public init(name: String) {
|
public init(name: String) {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|||||||
@@ -13,23 +13,33 @@
|
|||||||
/// A type that contains values to fine-tune a response when requesting amiibo types.
|
/// A type that contains values to fine-tune a response when requesting amiibo types.
|
||||||
public struct AmiiboTypeFilter: KeyNameFilter {
|
public struct AmiiboTypeFilter: KeyNameFilter {
|
||||||
|
|
||||||
|
// TODO: Remove the documentation from the properties and initializers of this type as the `--enable-inherited-docs` flag when generating DocC documentation is not working as intended (?).
|
||||||
|
|
||||||
// MARK: Properties
|
// MARK: Properties
|
||||||
|
|
||||||
|
/// A key to return, if any.
|
||||||
public let key: String?
|
public let key: String?
|
||||||
|
|
||||||
|
/// A name to return, if any.
|
||||||
public let name: String?
|
public let name: String?
|
||||||
|
|
||||||
// MARK: Initializers
|
// MARK: Initializers
|
||||||
|
|
||||||
|
/// Initializes this filter without key or name values.
|
||||||
public init() {
|
public init() {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a key value.
|
||||||
|
/// - Parameter key: A key to return.
|
||||||
public init(key: String) {
|
public init(key: String) {
|
||||||
self.key = key
|
self.key = key
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a name value.
|
||||||
|
/// - Parameter name: A name to return.
|
||||||
public init(name: String) {
|
public init(name: String) {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|||||||
@@ -13,23 +13,33 @@
|
|||||||
/// A type that contains values to fine-tune a response when requesting game characters.
|
/// A type that contains values to fine-tune a response when requesting game characters.
|
||||||
public struct GameCharacterFilter: KeyNameFilter {
|
public struct GameCharacterFilter: KeyNameFilter {
|
||||||
|
|
||||||
|
// TODO: Remove the documentation from the properties and initializers of this type as the `--enable-inherited-docs` flag when generating DocC documentation is not working as intended (?).
|
||||||
|
|
||||||
// MARK: Properties
|
// MARK: Properties
|
||||||
|
|
||||||
|
/// A key to return, if any.
|
||||||
public let key: String?
|
public let key: String?
|
||||||
|
|
||||||
|
/// A name to return, if any.
|
||||||
public let name: String?
|
public let name: String?
|
||||||
|
|
||||||
// MARK: Initializers
|
// MARK: Initializers
|
||||||
|
|
||||||
|
/// Initializes this filter without key or name values.
|
||||||
public init() {
|
public init() {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a key value.
|
||||||
|
/// - Parameter key: A key to return.
|
||||||
public init(key: String) {
|
public init(key: String) {
|
||||||
self.key = key
|
self.key = key
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a name value.
|
||||||
|
/// - Parameter name: A name to return.
|
||||||
public init(name: String) {
|
public init(name: String) {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|||||||
@@ -13,23 +13,33 @@
|
|||||||
/// A type that contains values to fine-tune a response when requesting game series.
|
/// A type that contains values to fine-tune a response when requesting game series.
|
||||||
public struct GameSeriesFilter: KeyNameFilter {
|
public struct GameSeriesFilter: KeyNameFilter {
|
||||||
|
|
||||||
|
// TODO: Remove the documentation from the properties and initializers of this type as the `--enable-inherited-docs` flag when generating DocC documentation is not working as intended (?).
|
||||||
|
|
||||||
// MARK: Properties
|
// MARK: Properties
|
||||||
|
|
||||||
|
/// A key to return, if any.
|
||||||
public let key: String?
|
public let key: String?
|
||||||
|
|
||||||
|
/// A name to return, if any.
|
||||||
public let name: String?
|
public let name: String?
|
||||||
|
|
||||||
// MARK: Initializers
|
// MARK: Initializers
|
||||||
|
|
||||||
|
/// Initializes this filter without key or name values.
|
||||||
public init() {
|
public init() {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a key value.
|
||||||
|
/// - Parameter key: A key to return.
|
||||||
public init(key: String) {
|
public init(key: String) {
|
||||||
self.key = key
|
self.key = key
|
||||||
self.name = nil
|
self.name = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Initializes this filter with a name value.
|
||||||
|
/// - Parameter name: A name to return.
|
||||||
public init(name: String) {
|
public init(name: String) {
|
||||||
self.key = nil
|
self.key = nil
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|||||||
Reference in New Issue
Block a user