a83da81414
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>
1 line
8.7 KiB
JSON
1 line
8.7 KiB
JSON
{"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/MethodNotAllowed-swift.struct\/init(body:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"body"},{"kind":"text","text":": "},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","kind":"typeIdentifier","text":"Operations","preciseIdentifier":"s:13MarvelService10OperationsO"},{"kind":"text","text":"."},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById","kind":"typeIdentifier","text":"getComicById","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO"},{"kind":"text","text":"."},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output","kind":"typeIdentifier","text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO"},{"kind":"text","text":"."},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/MethodNotAllowed-swift.struct","kind":"typeIdentifier","text":"MethodNotAllowed","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO16MethodNotAllowedV"},{"kind":"text","text":"."},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum","kind":"typeIdentifier","text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO16MethodNotAllowedV4BodyO"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Received HTTP response body"}]}],"name":"body"}],"kind":"parameters"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/methodnotallowed-swift.struct\/init(body:)"]}],"abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"MethodNotAllowed"},{"type":"text","text":"."}],"metadata":{"modules":[{"name":"MarvelService"}],"roleHeading":"Initializer","title":"init(body:)","externalID":"s:13MarvelService10OperationsO12getComicByIdO6OutputO16MethodNotAllowedV4bodyA2I4BodyO_tcfc","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"body"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Operations","preciseIdentifier":"s:13MarvelService10OperationsO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"getComicById","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"MethodNotAllowed","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO16MethodNotAllowedV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO16MethodNotAllowedV4BodyO"},{"kind":"text","text":")"}],"symbolKind":"init"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/MethodNotAllowed-swift.struct"]]},"references":{"doc://MarvelService/documentation/MarvelService/Operations/getComicById/Output/MethodNotAllowed-swift.struct/Body-swift.enum":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Body"}],"navigatorTitle":[{"kind":"identifier","text":"Body"}],"role":"symbol","abstract":[],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/methodnotallowed-swift.struct\/body-swift.enum","type":"topic","title":"Operations.getComicById.Output.MethodNotAllowed.Body"},"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/getComicById/Output":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Output"}],"navigatorTitle":[{"kind":"identifier","text":"Output"}],"role":"symbol","abstract":[],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output","type":"topic","title":"Operations.getComicById.Output"},"doc://MarvelService/documentation/MarvelService/Operations/getComicById":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"getComicById"}],"navigatorTitle":[{"kind":"identifier","text":"getComicById"}],"role":"symbol","abstract":[{"type":"text","text":"Fetches a single comic by id."}],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid","type":"topic","title":"Operations.getComicById"},"doc://MarvelService/documentation/MarvelService/Operations/getComicById/Output/MethodNotAllowed-swift.struct/init(body:)":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/MethodNotAllowed-swift.struct\/init(body:)","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:13MarvelService10OperationsO12getComicByIdO","text":"getComicById"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO","text":"Output"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO16MethodNotAllowedV","text":"MethodNotAllowed"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO16MethodNotAllowedV4BodyO","text":"Body"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"MethodNotAllowed"},{"type":"text","text":"."}],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/methodnotallowed-swift.struct\/init(body:)","type":"topic","title":"init(body:)"},"doc://MarvelService/documentation/MarvelService/Operations/getComicById/Output/MethodNotAllowed-swift.struct":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/MethodNotAllowed-swift.struct","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"MethodNotAllowed"}],"navigatorTitle":[{"kind":"identifier","text":"MethodNotAllowed"}],"role":"symbol","abstract":[],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/methodnotallowed-swift.struct","type":"topic","title":"Operations.getComicById.Output.MethodNotAllowed"}}} |