Files
T
javier a83da81414 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>
2025-10-05 22:05:07 +00:00

1 line
8.7 KiB
JSON

{"metadata":{"role":"symbol","title":"init(body:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"getEventsByComicId","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Conflict","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO8ConflictV","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO8ConflictV4BodyO","kind":"typeIdentifier"},{"text":")","kind":"text"}],"roleHeading":"Initializer","modules":[{"name":"MarvelService"}],"externalID":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO8ConflictV4bodyA2I4BodyO_tcfc","symbolKind":"init"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output\/Conflict-swift.struct\/init(body:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations"},{"text":".","kind":"text"},{"text":"getEventsByComicId","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output"},{"text":".","kind":"text"},{"text":"Conflict","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO8ConflictV","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output\/Conflict-swift.struct"},{"text":".","kind":"text"},{"text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO8ConflictV4BodyO","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output\/Conflict-swift.struct\/Body-swift.enum"},{"text":")","kind":"text"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"body","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Received HTTP response body"}]}]}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"paths":["\/documentation\/marvelservice\/operations\/geteventsbycomicid\/output\/conflict-swift.struct\/init(body:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"Conflict"},{"type":"text","text":"."}],"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output\/Conflict-swift.struct"]]},"references":{"doc://MarvelService/documentation/MarvelService/Operations/getEventsByComicId/Output/Conflict-swift.struct":{"url":"\/documentation\/marvelservice\/operations\/geteventsbycomicid\/output\/conflict-swift.struct","role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output\/Conflict-swift.struct","abstract":[],"navigatorTitle":[{"text":"Conflict","kind":"identifier"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Conflict","kind":"identifier"}],"kind":"symbol","type":"topic","title":"Operations.getEventsByComicId.Output.Conflict"},"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/Operations/getEventsByComicId/Output":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output","kind":"symbol","abstract":[],"type":"topic","title":"Operations.getEventsByComicId.Output","navigatorTitle":[{"text":"Output","kind":"identifier"}],"url":"\/documentation\/marvelservice\/operations\/geteventsbycomicid\/output","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Output","kind":"identifier"}],"role":"symbol"},"doc://MarvelService/documentation/MarvelService/Operations/getEventsByComicId/Output/Conflict-swift.struct/Body-swift.enum":{"role":"symbol","abstract":[],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Body","kind":"identifier"}],"navigatorTitle":[{"text":"Body","kind":"identifier"}],"type":"topic","title":"Operations.getEventsByComicId.Output.Conflict.Body","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output\/Conflict-swift.struct\/Body-swift.enum","url":"\/documentation\/marvelservice\/operations\/geteventsbycomicid\/output\/conflict-swift.struct\/body-swift.enum"},"doc://MarvelService/documentation/MarvelService/Operations":{"role":"symbol","abstract":[{"type":"text","text":"API operations, with input and output types, generated from "},{"type":"codeVoice","code":"#\/paths"},{"type":"text","text":" in the OpenAPI document."}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Operations"}],"navigatorTitle":[{"text":"Operations","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","title":"Operations","url":"\/documentation\/marvelservice\/operations"},"doc://MarvelService/documentation/MarvelService/Operations/getEventsByComicId/Output/Conflict-swift.struct/init(body:)":{"role":"symbol","abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"Conflict"},{"type":"text","text":"."}],"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Operations","preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"getEventsByComicId","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Conflict","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO8ConflictV"},{"text":".","kind":"text"},{"text":"Body","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO18getEventsByComicIdO6OutputO8ConflictV4BodyO"},{"text":")","kind":"text"}],"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId\/Output\/Conflict-swift.struct\/init(body:)","title":"init(body:)","url":"\/documentation\/marvelservice\/operations\/geteventsbycomicid\/output\/conflict-swift.struct\/init(body:)"},"doc://MarvelService/documentation/MarvelService/Operations/getEventsByComicId":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getEventsByComicId","kind":"symbol","abstract":[{"type":"text","text":"Fetches lists of events filtered by a comic id."}],"type":"topic","title":"Operations.getEventsByComicId","navigatorTitle":[{"text":"getEventsByComicId","kind":"identifier"}],"url":"\/documentation\/marvelservice\/operations\/geteventsbycomicid","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getEventsByComicId","kind":"identifier"}],"role":"symbol"}}}