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