Files
marvel-service/docs/data/documentation/marvelservice/operations/getcomicbyid/output/ok-swift.struct/init(body:).json
T

1 line
8.2 KiB
JSON

{"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"role":"symbol","symbolKind":"init","modules":[{"name":"MarvelService"}],"title":"init(body:)","externalID":"s:13MarvelService10OperationsO12getComicByIdO6OutputO2OkV4bodyA2I4BodyO_tcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO","text":"Operations","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO","text":"getComicById","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO","text":"Output","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO2OkV","text":"Ok","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO2OkV4BodyO","text":"Body","kind":"typeIdentifier"},{"text":")","kind":"text"}],"roleHeading":"Initializer"},"kind":"symbol","abstract":[{"text":"Creates a new ","type":"text"},{"code":"Ok","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"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","preciseIdentifier":"s:13MarvelService10OperationsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById","text":"getComicById","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output","text":"Output","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/Ok-swift.struct","text":"Ok","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO2OkV","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/Ok-swift.struct\/Body-swift.enum","text":"Body","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO2OkV4BodyO","kind":"typeIdentifier"},{"text":")","kind":"text"}]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"Received HTTP response body"}],"type":"paragraph"}],"name":"body"}]}],"identifier":{"url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/Ok-swift.struct\/init(body:)","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/ok-swift.struct\/init(body:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"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\/Ok-swift.struct"]]},"references":{"doc://MarvelService/documentation/MarvelService":{"url":"\/documentation\/marvelservice","kind":"symbol","title":"MarvelService","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService","role":"collection","type":"topic","abstract":[{"text":"A library that allows the developer to interact with the ","type":"text"},{"type":"strong","inlineContent":[{"text":"Marvel Comics API","type":"text"}]},{"text":" backend service.","type":"text"}]},"doc://MarvelService/documentation/MarvelService/Operations/getComicById/Output":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Output","kind":"identifier"}],"abstract":[],"navigatorTitle":[{"text":"Output","kind":"identifier"}],"kind":"symbol","role":"symbol","title":"Operations.getComicById.Output","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output","url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output"},"doc://MarvelService/documentation/MarvelService/Operations":{"navigatorTitle":[{"kind":"identifier","text":"Operations"}],"url":"\/documentation\/marvelservice\/operations","kind":"symbol","title":"Operations","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","role":"symbol","type":"topic","abstract":[{"type":"text","text":"API operations, with input and output types, generated from "},{"code":"#\/paths","type":"codeVoice"},{"text":" in the OpenAPI document.","type":"text"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Operations"}]},"doc://MarvelService/documentation/MarvelService/Operations/getComicById/Output/Ok-swift.struct/Body-swift.enum":{"navigatorTitle":[{"kind":"identifier","text":"Body"}],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/ok-swift.struct\/body-swift.enum","kind":"symbol","title":"Operations.getComicById.Output.Ok.Body","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/Ok-swift.struct\/Body-swift.enum","role":"symbol","type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Body"}]},"doc://MarvelService/documentation/MarvelService/Operations/getComicById/Output/Ok-swift.struct/init(body:)":{"role":"symbol","title":"init(body:)","kind":"symbol","abstract":[{"text":"Creates a new ","type":"text"},{"code":"Ok","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"body","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Operations","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO"},{"text":".","kind":"text"},{"text":"getComicById","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO"},{"text":".","kind":"text"},{"text":"Output","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO"},{"text":".","kind":"text"},{"text":"Ok","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO2OkV"},{"text":".","kind":"text"},{"text":"Body","kind":"typeIdentifier","preciseIdentifier":"s:13MarvelService10OperationsO12getComicByIdO6OutputO2OkV4BodyO"},{"text":")","kind":"text"}],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/ok-swift.struct\/init(body:)","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/Ok-swift.struct\/init(body:)","type":"topic"},"doc://MarvelService/documentation/MarvelService/Operations/getComicById/Output/Ok-swift.struct":{"navigatorTitle":[{"kind":"identifier","text":"Ok"}],"url":"\/documentation\/marvelservice\/operations\/getcomicbyid\/output\/ok-swift.struct","kind":"symbol","title":"Operations.getComicById.Output.Ok","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById\/Output\/Ok-swift.struct","role":"symbol","type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ok"}]},"doc://MarvelService/documentation/MarvelService/Operations/getComicById":{"type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"getComicById"}],"abstract":[{"type":"text","text":"Fetches a single comic by id."}],"navigatorTitle":[{"kind":"identifier","text":"getComicById"}],"kind":"symbol","role":"symbol","title":"Operations.getComicById","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getComicById","url":"\/documentation\/marvelservice\/operations\/getcomicbyid"}}}