Files
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
9.1 KiB
JSON

{"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output\/MethodNotAllowed-swift.struct\/init(body:)","interfaceLanguage":"swift"},"abstract":[{"text":"Creates a new ","type":"text"},{"type":"codeVoice","code":"MethodNotAllowed"},{"text":".","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output\/MethodNotAllowed-swift.struct"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId","text":"getSeriesByCharacterId","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output","text":"Output","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO"},{"text":".","kind":"text"},{"text":"MethodNotAllowed","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO16MethodNotAllowedV","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output\/MethodNotAllowed-swift.struct","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Body","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO16MethodNotAllowedV4BodyO","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Received HTTP response body"}]}],"name":"body"}]}],"kind":"symbol","variants":[{"paths":["\/documentation\/marvelservice\/operations\/getseriesbycharacterid\/output\/methodnotallowed-swift.struct\/init(body:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO16MethodNotAllowedV4bodyA2I4BodyO_tcfc","title":"init(body:)","symbolKind":"init","roleHeading":"Initializer","modules":[{"name":"MarvelService"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"body"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO","text":"Operations"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO","text":"getSeriesByCharacterId"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO","text":"Output"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO16MethodNotAllowedV","text":"MethodNotAllowed"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO16MethodNotAllowedV4BodyO","text":"Body"},{"kind":"text","text":")"}],"role":"symbol"},"references":{"doc://MarvelService/documentation/MarvelService/Operations/getSeriesByCharacterId/Output/MethodNotAllowed-swift.struct":{"url":"\/documentation\/marvelservice\/operations\/getseriesbycharacterid\/output\/methodnotallowed-swift.struct","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"MethodNotAllowed"}],"type":"topic","title":"Operations.getSeriesByCharacterId.Output.MethodNotAllowed","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output\/MethodNotAllowed-swift.struct","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"MethodNotAllowed"}],"abstract":[],"kind":"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/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/getSeriesByCharacterId/Output":{"url":"\/documentation\/marvelservice\/operations\/getseriesbycharacterid\/output","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Output"}],"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output","title":"Operations.getSeriesByCharacterId.Output","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Output"}],"abstract":[],"kind":"symbol"},"doc://MarvelService/documentation/MarvelService/Operations/getSeriesByCharacterId":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId","kind":"symbol","abstract":[{"type":"text","text":"Fetches lists of series filtered by a character id."}],"type":"topic","title":"Operations.getSeriesByCharacterId","navigatorTitle":[{"kind":"identifier","text":"getSeriesByCharacterId"}],"url":"\/documentation\/marvelservice\/operations\/getseriesbycharacterid","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"getSeriesByCharacterId"}],"role":"symbol"},"doc://MarvelService/documentation/MarvelService/Operations/getSeriesByCharacterId/Output/MethodNotAllowed-swift.struct/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":"getSeriesByCharacterId","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO"},{"text":".","kind":"text"},{"text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"MethodNotAllowed","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO16MethodNotAllowedV","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO22getSeriesByCharacterIdO6OutputO16MethodNotAllowedV4BodyO","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","url":"\/documentation\/marvelservice\/operations\/getseriesbycharacterid\/output\/methodnotallowed-swift.struct\/init(body:)","kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output\/MethodNotAllowed-swift.struct\/init(body:)","type":"topic","abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"MethodNotAllowed"},{"type":"text","text":"."}],"title":"init(body:)"},"doc://MarvelService/documentation/MarvelService/Operations/getSeriesByCharacterId/Output/MethodNotAllowed-swift.struct/Body-swift.enum":{"url":"\/documentation\/marvelservice\/operations\/getseriesbycharacterid\/output\/methodnotallowed-swift.struct\/body-swift.enum","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Body"}],"type":"topic","title":"Operations.getSeriesByCharacterId.Output.MethodNotAllowed.Body","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getSeriesByCharacterId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Body"}],"abstract":[],"kind":"symbol"}}}