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
7.9 KiB
JSON
1 line
7.9 KiB
JSON
{"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"tooManyRequests","kind":"identifier"},{"kind":"text","text":": "},{"text":"Operations","preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO","text":"getCreatorById"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO6OutputO","text":"Output","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO6OutputO15TooManyRequestsV","text":"TooManyRequests","kind":"typeIdentifier"}],"role":"symbol","modules":[{"name":"MarvelService"}],"externalID":"s:13MarvelService10OperationsO14getCreatorByIdO6OutputO15tooManyRequestsAG03ToojK0Vvp","roleHeading":"Instance Property","title":"tooManyRequests","symbolKind":"property"},"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById\/Output\/tooManyRequests-swift.property","interfaceLanguage":"swift"},"kind":"symbol","variants":[{"paths":["\/documentation\/marvelservice\/operations\/getcreatorbyid\/output\/toomanyrequests-swift.property"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"tooManyRequests","kind":"identifier"},{"kind":"text","text":": "},{"text":"Operations","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"getCreatorById","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO6OutputO","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById\/Output","text":"Output"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO6OutputO15TooManyRequestsV","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById\/Output\/TooManyRequests-swift.struct","kind":"typeIdentifier","text":"TooManyRequests"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"style":"note","name":"Throws","content":[{"inlineContent":[{"type":"text","text":"An error if "},{"code":"self","type":"codeVoice"},{"text":" is not ","type":"text"},{"code":".tooManyRequests","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"type":"aside"},{"content":[{"inlineContent":[{"text":"","type":"text"},{"code":".tooManyRequests","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"type":"aside","style":"note","name":"See Also"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"The associated value of the enum case if "},{"type":"codeVoice","code":"self"},{"text":" is ","type":"text"},{"code":".tooManyRequests","type":"codeVoice"},{"text":".","type":"text"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById\/Output"]]},"references":{"doc://MarvelService/documentation/MarvelService/Operations/getCreatorById":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"Fetches a single creator by id."}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getCreatorById"}],"navigatorTitle":[{"kind":"identifier","text":"getCreatorById"}],"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById","title":"Operations.getCreatorById","url":"\/documentation\/marvelservice\/operations\/getcreatorbyid"},"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/getCreatorById/Output/tooManyRequests-swift.property":{"kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById\/Output\/tooManyRequests-swift.property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"tooManyRequests"},{"kind":"text","text":": "},{"preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier","text":"Operations"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO","kind":"typeIdentifier","text":"getCreatorById"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO6OutputO","kind":"typeIdentifier","text":"Output"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10OperationsO14getCreatorByIdO6OutputO15TooManyRequestsV","kind":"typeIdentifier","text":"TooManyRequests"}],"role":"symbol","abstract":[{"type":"text","text":"The associated value of the enum case if "},{"type":"codeVoice","code":"self"},{"type":"text","text":" is "},{"type":"codeVoice","code":".tooManyRequests"},{"type":"text","text":"."}],"url":"\/documentation\/marvelservice\/operations\/getcreatorbyid\/output\/toomanyrequests-swift.property","type":"topic","title":"tooManyRequests"},"doc://MarvelService/documentation/MarvelService/Operations/getCreatorById/Output":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById\/Output","kind":"symbol","abstract":[],"type":"topic","title":"Operations.getCreatorById.Output","navigatorTitle":[{"kind":"identifier","text":"Output"}],"url":"\/documentation\/marvelservice\/operations\/getcreatorbyid\/output","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Output"}],"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/Operations/getCreatorById/Output/TooManyRequests-swift.struct":{"title":"Operations.getCreatorById.Output.TooManyRequests","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCreatorById\/Output\/TooManyRequests-swift.struct","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"TooManyRequests"}],"navigatorTitle":[{"kind":"identifier","text":"TooManyRequests"}],"role":"symbol","url":"\/documentation\/marvelservice\/operations\/getcreatorbyid\/output\/toomanyrequests-swift.struct","abstract":[],"type":"topic","kind":"symbol"}}} |