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