Skip to content

Commit

Permalink
Fix DocC error
Browse files Browse the repository at this point in the history
  • Loading branch information
adamayoung committed Nov 19, 2024
1 parent cb3f00e commit 8153637
Show file tree
Hide file tree
Showing 16 changed files with 67 additions and 43 deletions.
24 changes: 24 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"originHash" : "30be1a8795d91fbccb4a904ab667609855569d33f57038fec1ba246343472f40",
"pins" : [
{
"identity" : "swift-docc-plugin",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-docc-plugin.git",
"state" : {
"revision" : "85e4bb4e1cd62cec64a4b8e769dcefdf0c5b9d64",
"version" : "1.4.3"
}
},
{
"identity" : "swift-docc-symbolkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-docc-symbolkit",
"state" : {
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
"version" : "1.0.0"
}
}
],
"version" : 3
}
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/Company.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ extension Company {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: any Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/Gender.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public enum Gender: Int, Codable, Equatable, Hashable, Sendable {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
self =
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/Media.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ extension Media {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/Movie.swift
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ extension Movie {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/MovieExternalLinksCollection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ extension MovieExternalLinksCollection {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/MovieListItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ extension MovieListItem {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/Person.swift
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ extension Person {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ extension PersonExternalLinksCollection {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/Show.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ extension Show {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/TVSeries.swift
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ extension TVSeries {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ extension TVSeriesExternalLinksCollection {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/TVSeriesListItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ extension TVSeriesListItem {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/VideoSize.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public enum VideoSize: Int, Codable, Equatable, Hashable, Sendable {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
self =
Expand Down
6 changes: 3 additions & 3 deletions Sources/TMDb/Domain/Models/VideoType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public enum VideoType: String, Codable, Equatable, Hashable, Sendable {
///
/// - Parameter decoder: The decoder to read data from.
///
/// - Throws: ``DecodingError.typeMismatch`` if the encountered encoded value is not convertible to the requested type.
/// - Throws: ``DecodingError.keyNotFound`` if self does not have an entry for the given key.
/// - Throws: ``DecodingError.valueNotFound`` if self has a null entry for the given key.
/// - Throws: `DecodingError.typeMismatch` if the encountered encoded value is not convertible to the requested type.
/// - Throws: `DecodingError.keyNotFound` if self does not have an entry for the given key.
/// - Throws: `DecodingError.valueNotFound` if self has a null entry for the given key.
///
public init(from decoder: Decoder) throws {
self =
Expand Down
2 changes: 1 addition & 1 deletion Sources/TMDb/Networking/HTTPClient/HTTPClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public protocol HTTPClient: Sendable {
///
/// - Parameter request: The HTTP request.
///
/// - Throws: ``Error``.
/// - Throws: `Error`.
///
/// - Returns: An HTTP response object.
///
Expand Down

0 comments on commit 8153637

Please sign in to comment.