Some bug fixes (#8)

This PR contains the work done to fix some bug fixes that were encountered while quickly testing the interactions with the service endpoints. Furthermore, there is also a possible fix to build this library for non-apple platforms.

Reviewed-on: #8
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #8.
This commit is contained in:
2025-10-05 22:05:07 +00:00
committed by Javier Cicchelli
parent d5bd9feb0a
commit a83da81414
7162 changed files with 7199 additions and 7186 deletions
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
{"sections":[],"variants":[{"paths":["\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/codingkey-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"topicSections":[{"identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/debugDescription","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/description-swift.property"],"title":"Instance Properties","anchor":"Instance-Properties","generated":true}],"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys"]]},"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/CodingKey-Implementations","interfaceLanguage":"swift"},"kind":"article","metadata":{"role":"collectionGroup","modules":[{"name":"MarvelService"}],"roleHeading":"API Collection","title":"CodingKey Implementations"},"references":{"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character":{"url":"\/documentation\/marvelservice\/components\/schemas\/character","title":"Components.Schemas.Character","navigatorTitle":[{"kind":"identifier","text":"Character"}],"type":"topic","abstract":[{"text":"A character resource type that represents the women, men, organizations, alien species, deities, animals, non-corporeal entities, trans-dimensional manifestations, abstract personifications, and green amorphous blobs which occupy the Marvel Universe as well as various alternate universes, timelines and altered realities therein (e.g. Spider-Man).","type":"text"}],"role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"Character","kind":"identifier"}]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys/description-swift.property":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/description-swift.property","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"kind":"symbol","type":"topic","url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/description-swift.property","role":"symbol","abstract":[{"type":"text","text":"A textual representation of this key."}]},"doc://MarvelService/documentation/MarvelService":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService","kind":"symbol","url":"\/documentation\/marvelservice","title":"MarvelService","role":"collection","abstract":[{"text":"A library that allows the developer to interact with the ","type":"text"},{"type":"strong","inlineContent":[{"text":"Marvel Comics API","type":"text"}]},{"type":"text","text":" backend service."}],"type":"topic"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys":{"url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys","title":"Components.Schemas.Character.CodingKeys","navigatorTitle":[{"text":"CodingKeys","kind":"identifier"}],"type":"topic","abstract":[],"role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CodingKeys","kind":"identifier"}]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys/debugDescription":{"title":"debugDescription","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/debugDescription","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"debugDescription","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"kind":"symbol","type":"topic","url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/debugdescription","role":"symbol","abstract":[{"type":"text","text":"A textual representation of this key, suitable for debugging."}]}}}
{"metadata":{"title":"CodingKey Implementations","roleHeading":"API Collection","role":"collectionGroup","modules":[{"name":"MarvelService"}]},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/debugDescription","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/description-swift.property"],"anchor":"Instance-Properties","generated":true}],"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/CodingKey-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/codingkey-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"article","hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys"]]},"references":{"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys/description-swift.property":{"url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/description-swift.property","role":"symbol","type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/description-swift.property","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"A textual representation of this key."}],"kind":"symbol"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys","kind":"symbol","abstract":[],"type":"topic","title":"Components.Schemas.Character.CodingKeys","navigatorTitle":[{"kind":"identifier","text":"CodingKeys"}],"url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodingKeys"}],"role":"symbol"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","kind":"symbol","abstract":[{"type":"text","text":"A character resource type that represents the women, men, organizations, alien species, deities, animals, non-corporeal entities, trans-dimensional manifestations, abstract personifications, and green amorphous blobs which occupy the Marvel Universe as well as various alternate universes, timelines and altered realities therein (e.g. Spider-Man)."}],"type":"topic","title":"Components.Schemas.Character","navigatorTitle":[{"text":"Character","kind":"identifier"}],"url":"\/documentation\/marvelservice\/components\/schemas\/character","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Character","kind":"identifier"}],"role":"symbol"},"doc://MarvelService/documentation/MarvelService":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService","role":"collection","abstract":[{"type":"text","text":"A library that allows the developer to interact with the "},{"type":"strong","inlineContent":[{"type":"text","text":"Marvel Comics API"}]},{"type":"text","text":" backend service."}],"url":"\/documentation\/marvelservice","type":"topic","title":"MarvelService"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys/debugDescription":{"url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/debugdescription","role":"symbol","type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/debugDescription","title":"debugDescription","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"debugDescription"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"A textual representation of this key, suitable for debugging."}],"kind":"symbol"}}}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
{"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys"]]},"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/Equatable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/!=(_:_:)"],"title":"Operators","generated":true,"anchor":"Operators"}],"metadata":{"roleHeading":"API Collection","modules":[{"name":"MarvelService"}],"role":"collectionGroup","title":"Equatable Implementations"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"article","sections":[],"variants":[{"paths":["\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://MarvelService/documentation/MarvelService":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService","kind":"symbol","url":"\/documentation\/marvelservice","title":"MarvelService","role":"collection","abstract":[{"text":"A library that allows the developer to interact with the ","type":"text"},{"type":"strong","inlineContent":[{"text":"Marvel Comics API","type":"text"}]},{"type":"text","text":" backend service."}],"type":"topic"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys":{"url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys","title":"Components.Schemas.Character.CodingKeys","navigatorTitle":[{"text":"CodingKeys","kind":"identifier"}],"type":"topic","abstract":[],"role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CodingKeys","kind":"identifier"}]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys/!=(_:_:)":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/!=(_:_:)","title":"!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"kind":"symbol","type":"topic","url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/!=(_:_:)","role":"symbol","abstract":[{"type":"text","text":"Returns a Boolean value indicating whether two values are not equal."}]},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character":{"url":"\/documentation\/marvelservice\/components\/schemas\/character","title":"Components.Schemas.Character","navigatorTitle":[{"kind":"identifier","text":"Character"}],"type":"topic","abstract":[{"text":"A character resource type that represents the women, men, organizations, alien species, deities, animals, non-corporeal entities, trans-dimensional manifestations, abstract personifications, and green amorphous blobs which occupy the Marvel Universe as well as various alternate universes, timelines and altered realities therein (e.g. Spider-Man).","type":"text"}],"role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"Character","kind":"identifier"}]}}}
{"metadata":{"role":"collectionGroup","modules":[{"name":"MarvelService"}],"title":"Equatable Implementations","roleHeading":"API Collection"},"topicSections":[{"anchor":"Operators","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/!=(_:_:)"],"generated":true,"title":"Operators"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/Equatable-Implementations"},"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"paths":["\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"article","hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys"]]},"references":{"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character","kind":"symbol","abstract":[{"type":"text","text":"A character resource type that represents the women, men, organizations, alien species, deities, animals, non-corporeal entities, trans-dimensional manifestations, abstract personifications, and green amorphous blobs which occupy the Marvel Universe as well as various alternate universes, timelines and altered realities therein (e.g. Spider-Man)."}],"type":"topic","title":"Components.Schemas.Character","navigatorTitle":[{"text":"Character","kind":"identifier"}],"url":"\/documentation\/marvelservice\/components\/schemas\/character","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Character","kind":"identifier"}],"role":"symbol"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys/!=(_:_:)":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys\/!=(_:_:)","kind":"symbol","abstract":[{"type":"text","text":"Returns a Boolean value indicating whether two values are not equal."}],"type":"topic","title":"!=(_:_:)","url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys\/!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"role":"symbol"},"doc://MarvelService/documentation/MarvelService":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService","role":"collection","abstract":[{"type":"text","text":"A library that allows the developer to interact with the "},{"type":"strong","inlineContent":[{"type":"text","text":"Marvel Comics API"}]},{"type":"text","text":" backend service."}],"url":"\/documentation\/marvelservice","type":"topic","title":"MarvelService"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Character/CodingKeys":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Character\/CodingKeys","kind":"symbol","abstract":[],"type":"topic","title":"Components.Schemas.Character.CodingKeys","navigatorTitle":[{"kind":"identifier","text":"CodingKeys"}],"url":"\/documentation\/marvelservice\/components\/schemas\/character\/codingkeys","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodingKeys"}],"role":"symbol"}}}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long