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

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