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