Files
javier a83da81414 Some bug fixes (#8)
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>
2025-10-05 22:05:07 +00:00

1 line
10 KiB
JSON

{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"attribute","text":"@frozen"},{"text":" ","kind":"text"},{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Body"}]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"overview","text":"Overview"},{"type":"aside","name":"Remark","content":[{"type":"paragraph","inlineContent":[{"text":"Generated from ","type":"text"},{"type":"codeVoice","code":"#\/paths\/v1\/public\/events\/{eventId}\/characters\/GET\/responses\/405\/content"},{"text":".","type":"text"}]}],"style":"note"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/marvelservice\/operations\/getcharactersbyeventid\/output\/methodnotallowed-swift.struct\/body-swift.enum"]}],"sections":[],"kind":"symbol","metadata":{"roleHeading":"Enumeration","externalID":"s:13MarvelService10OperationsO22getCharactersByEventIdO6OutputO16MethodNotAllowedV4BodyO","role":"symbol","symbolKind":"enum","navigatorTitle":[{"kind":"identifier","text":"Body"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Body"}],"title":"Operations.getCharactersByEventId.Output.MethodNotAllowed.Body","modules":[{"name":"MarvelService"}]},"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output","doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct"]]},"relationshipsSections":[{"title":"Conforms To","identifiers":["doc:\/\/MarvelService\/SQ","doc:\/\/MarvelService\/SH","doc:\/\/MarvelService\/s8SendableP","doc:\/\/MarvelService\/s16SendableMetatypeP"],"type":"conformsTo","kind":"relationships"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"topicSections":[{"generated":true,"title":"Enumeration Cases","anchor":"Enumeration-Cases","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum\/json(_:)"]},{"generated":true,"anchor":"Instance-Properties","title":"Instance Properties","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum\/json"]},{"generated":true,"title":"Default Implementations","anchor":"Default-Implementations","identifiers":["doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum\/Equatable-Implementations"]}],"references":{"doc://MarvelService/documentation/MarvelService/Operations/getCharactersByEventId/Output/MethodNotAllowed-swift.struct/Body-swift.enum/Equatable-Implementations":{"url":"\/documentation\/marvelservice\/operations\/getcharactersbyeventid\/output\/methodnotallowed-swift.struct\/body-swift.enum\/equatable-implementations","role":"collectionGroup","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum\/Equatable-Implementations","abstract":[],"kind":"article","type":"topic","title":"Equatable Implementations"},"doc://MarvelService/SH":{"title":"Swift.Hashable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/SH"},"doc://MarvelService/documentation/MarvelService/Operations/getCharactersByEventId":{"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getCharactersByEventId"}],"role":"symbol","url":"\/documentation\/marvelservice\/operations\/getcharactersbyeventid","kind":"symbol","type":"topic","title":"Operations.getCharactersByEventId","abstract":[{"type":"text","text":"Fetches lists of characters filtered by an event id."}],"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId","navigatorTitle":[{"kind":"identifier","text":"getCharactersByEventId"}]},"doc://MarvelService/documentation/MarvelService/Operations/getCharactersByEventId/Output/MethodNotAllowed-swift.struct/Body-swift.enum":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Body"}],"role":"symbol","url":"\/documentation\/marvelservice\/operations\/getcharactersbyeventid\/output\/methodnotallowed-swift.struct\/body-swift.enum","kind":"symbol","type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum","title":"Operations.getCharactersByEventId.Output.MethodNotAllowed.Body","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Body"}]},"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/SQ":{"title":"Swift.Equatable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/SQ"},"doc://MarvelService/documentation/MarvelService/Operations/getCharactersByEventId/Output/MethodNotAllowed-swift.struct/Body-swift.enum/json(_:)":{"url":"\/documentation\/marvelservice\/operations\/getcharactersbyeventid\/output\/methodnotallowed-swift.struct\/body-swift.enum\/json(_:)","role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum\/json(_:)","abstract":[],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"json"},{"kind":"text","text":"("},{"preciseIdentifier":"s:13MarvelService10ComponentsO","kind":"typeIdentifier","text":"Components"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO","kind":"typeIdentifier","text":"Schemas"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO13StandardErrorV","kind":"typeIdentifier","text":"StandardError"},{"kind":"text","text":")"}],"kind":"symbol","type":"topic","title":"Operations.getCharactersByEventId.Output.MethodNotAllowed.Body.json(_:)"},"doc://MarvelService/s8SendableP":{"title":"Swift.Sendable","type":"unresolvable","identifier":"doc:\/\/MarvelService\/s8SendableP"},"doc://MarvelService/documentation/MarvelService/Operations/getCharactersByEventId/Output/MethodNotAllowed-swift.struct":{"url":"\/documentation\/marvelservice\/operations\/getcharactersbyeventid\/output\/methodnotallowed-swift.struct","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"MethodNotAllowed"}],"type":"topic","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct","title":"Operations.getCharactersByEventId.Output.MethodNotAllowed","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"MethodNotAllowed","kind":"identifier"}],"abstract":[],"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/s16SendableMetatypeP":{"title":"Swift.SendableMetatype","type":"unresolvable","identifier":"doc:\/\/MarvelService\/s16SendableMetatypeP"},"doc://MarvelService/documentation/MarvelService/Operations/getCharactersByEventId/Output":{"url":"\/documentation\/marvelservice\/operations\/getcharactersbyeventid\/output","role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output","abstract":[],"navigatorTitle":[{"text":"Output","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Output","kind":"identifier"}],"kind":"symbol","type":"topic","title":"Operations.getCharactersByEventId.Output"},"doc://MarvelService/documentation/MarvelService/Operations/getCharactersByEventId/Output/MethodNotAllowed-swift.struct/Body-swift.enum/json":{"url":"\/documentation\/marvelservice\/operations\/getcharactersbyeventid\/output\/methodnotallowed-swift.struct\/body-swift.enum\/json","role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Operations\/getCharactersByEventId\/Output\/MethodNotAllowed-swift.struct\/Body-swift.enum\/json","abstract":[{"type":"text","text":"The associated value of the enum case if "},{"type":"codeVoice","code":"self"},{"type":"text","text":" is "},{"type":"codeVoice","code":".json"},{"type":"text","text":"."}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"json"},{"kind":"text","text":": "},{"preciseIdentifier":"s:13MarvelService10ComponentsO","kind":"typeIdentifier","text":"Components"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO","kind":"typeIdentifier","text":"Schemas"},{"kind":"text","text":"."},{"preciseIdentifier":"s:13MarvelService10ComponentsO7SchemasO13StandardErrorV","kind":"typeIdentifier","text":"StandardError"}],"kind":"symbol","type":"topic","title":"json"}}}