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
9.6 KiB
JSON
1 line
9.6 KiB
JSON
{"metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"offset"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"limit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"total"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"count"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"results"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10ComponentsO","text":"Components"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO","text":"Schemas"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO5StoryV","text":"Story"},{"kind":"text","text":"])"}],"role":"symbol","modules":[{"name":"MarvelService"}],"externalID":"s:13MarvelService10ComponentsO7SchemasO18StoryDataContainerV6offset5limit5total5count7resultsAGSi_S3iSayAE0E0VGtcfc","roleHeading":"Initializer","title":"init(offset:limit:total:count:results:)","symbolKind":"init"},"sections":[],"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Components","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas","doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StoryDataContainer"]]},"kind":"symbol","variants":[{"paths":["\/documentation\/marvelservice\/components\/schemas\/storydatacontainer\/init(offset:limit:total:count:results:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StoryDataContainer\/init(offset:limit:total:count:results:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"StoryDataContainer"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"offset"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"limit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"total"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"count"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"text":"results","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"Components","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components","preciseIdentifier":"s:13MarvelService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas"},{"text":".","kind":"text"},{"text":"Story","preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO5StoryV","kind":"typeIdentifier","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Story"},{"text":"])","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"offset","content":[{"inlineContent":[{"text":"The requested offset (number of skipped results) of the call.","type":"text"}],"type":"paragraph"}]},{"name":"limit","content":[{"inlineContent":[{"text":"The requested result limit.","type":"text"}],"type":"paragraph"}]},{"name":"total","content":[{"inlineContent":[{"text":"The total number of resources available given the current filter set.","type":"text"}],"type":"paragraph"}]},{"name":"count","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The total number of results returned by this call."}]}]},{"name":"results","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The list of stories returned by the call"}]}]}],"kind":"parameters"}],"references":{"doc://MarvelService/documentation/MarvelService/Components/Schemas/StoryDataContainer":{"role":"symbol","abstract":[{"type":"text","text":"The container for the story data."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"StoryDataContainer"}],"navigatorTitle":[{"kind":"identifier","text":"StoryDataContainer"}],"type":"topic","title":"Components.Schemas.StoryDataContainer","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StoryDataContainer","url":"\/documentation\/marvelservice\/components\/schemas\/storydatacontainer"},"doc://MarvelService/documentation/MarvelService/Components/Schemas/Story":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Story"}],"role":"symbol","url":"\/documentation\/marvelservice\/components\/schemas\/story","kind":"symbol","type":"topic","title":"Components.Schemas.Story","abstract":[{"type":"text","text":"A story resource type that represents an indivisible, reusable components of comics. Most comics have two stories - a cover and an interior story (e. g. the cover from Amazing Fantasy #15 and the origin of Spider-Man story from that comic) - but many, such as anthology comics and collections, will have more. Stories may be re-published in several comics, but the comic in which they originally appeared will always be present as a data point."}],"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/Story","navigatorTitle":[{"kind":"identifier","text":"Story"}]},"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/StoryDataContainer/init(offset:limit:total:count:results:)":{"role":"symbol","abstract":[{"type":"text","text":"Creates a new "},{"type":"codeVoice","code":"StoryDataContainer"},{"type":"text","text":"."}],"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"offset","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"limit","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"total","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"count","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"results","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"Components","preciseIdentifier":"s:13MarvelService10ComponentsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Schemas","preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Story","preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO5StoryV","kind":"typeIdentifier"},{"text":"])","kind":"text"}],"type":"topic","title":"init(offset:limit:total:count:results:)","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas\/StoryDataContainer\/init(offset:limit:total:count:results:)","url":"\/documentation\/marvelservice\/components\/schemas\/storydatacontainer\/init(offset:limit:total:count:results:)"},"doc://MarvelService/documentation/MarvelService/Components/Schemas":{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components\/Schemas","kind":"symbol","abstract":[{"type":"text","text":"Types generated from the "},{"type":"codeVoice","code":"#\/components\/schemas"},{"type":"text","text":" section of the OpenAPI document."}],"type":"topic","title":"Components.Schemas","navigatorTitle":[{"kind":"identifier","text":"Schemas"}],"url":"\/documentation\/marvelservice\/components\/schemas","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Schemas"}],"role":"symbol"},"doc://MarvelService/documentation/MarvelService/Components":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Components"}],"role":"symbol","url":"\/documentation\/marvelservice\/components","kind":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Components","title":"Components","abstract":[{"type":"text","text":"Types generated from the components section of the OpenAPI document."}],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"Components"}]}}} |