Javier Cicchelli 18d68635ce [Improvement] Github Pages documentation (#24)
This PR contains the work done to fix the Github Pages generated documentation, as the assigned base path and documentation URL were not properly defined.

Reviewed-on: #24
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2023-08-13 22:30:56 +00:00

1 line
9.5 KiB
JSON

{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"MockURLProtocol"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftlibscommunication\/mockurlprotocol"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/SwiftLibsCommunication\/objc(cs)NSURLProtocol"],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"identifiers":["doc:\/\/SwiftLibsCommunication\/objc(pl)NSObject","doc:\/\/SwiftLibsCommunication\/s7CVarArgP","doc:\/\/SwiftLibsCommunication\/s28CustomDebugStringConvertibleP","doc:\/\/SwiftLibsCommunication\/s23CustomStringConvertibleP","doc:\/\/SwiftLibsCommunication\/SQ","doc:\/\/SwiftLibsCommunication\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"This class overrides the "},{"type":"codeVoice","code":"URLProtocol"},{"type":"text","text":" protocol used by the "},{"type":"codeVoice","code":"URLSession"},{"type":"text","text":" to handle the loading of protocol-specific URL data so it is possible to mock URL response for testing purposes."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"MockURLProtocol"}],"title":"MockURLProtocol","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"c:@M@SwiftLibsCommunication@objc(cs)MockURLProtocol","modules":[{"name":"SwiftLibsCommunication"}],"navigatorTitle":[{"kind":"identifier","text":"MockURLProtocol"}]},"hierarchy":{"paths":[["doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/startLoading()","doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/stopLoading()"]},{"title":"Type Properties","identifiers":["doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/mockData"]},{"title":"Type Methods","identifiers":["doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/canInit(with:)-3oxns","doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/canInit(with:)-8nlgj","doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/canonicalRequest(for:)"]}],"references":{"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MockURLProtocol/canInit(with:)-3oxns":{"role":"symbol","title":"canInit(with:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"canInit"},{"kind":"text","text":"("},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URLRequest","preciseIdentifier":"s:10Foundation10URLRequestV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/canInit(with:)-3oxns","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/mockurlprotocol\/caninit(with:)-3oxns"},"doc://SwiftLibsCommunication/s7CVarArgP":{"type":"unresolvable","title":"Swift.CVarArg","identifier":"doc:\/\/SwiftLibsCommunication\/s7CVarArgP"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MockURLProtocol/canonicalRequest(for:)":{"role":"symbol","title":"canonicalRequest(for:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"canonicalRequest"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URLRequest","preciseIdentifier":"s:10Foundation10URLRequestV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"URLRequest","preciseIdentifier":"s:10Foundation10URLRequestV"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/canonicalRequest(for:)","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/mockurlprotocol\/canonicalrequest(for:)"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MockURLProtocol/stopLoading()":{"role":"symbol","title":"stopLoading()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"stopLoading"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/stopLoading()","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/mockurlprotocol\/stoploading()"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MockURLProtocol":{"role":"symbol","title":"MockURLProtocol","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"MockURLProtocol"}],"abstract":[{"type":"text","text":"This class overrides the "},{"type":"codeVoice","code":"URLProtocol"},{"type":"text","text":" protocol used by the "},{"type":"codeVoice","code":"URLSession"},{"type":"text","text":" to handle the loading of protocol-specific URL data so it is possible to mock URL response for testing purposes."}],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"MockURLProtocol"}],"url":"\/documentation\/swiftlibscommunication\/mockurlprotocol"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MockURLProtocol/mockData":{"role":"symbol","title":"mockData","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"mockData"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"MockURLRequest","preciseIdentifier":"s:22SwiftLibsCommunication14MockURLRequestV"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"MockURLResponse","preciseIdentifier":"s:22SwiftLibsCommunication15MockURLResponseV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"The dictionary in which the mock requests with its respective mock responses will be injected."}],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/mockData","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/mockurlprotocol\/mockdata"},"doc://SwiftLibsCommunication/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/SwiftLibsCommunication\/SQ"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MockURLProtocol/startLoading()":{"role":"symbol","title":"startLoading()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"startLoading"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/startLoading()","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/mockurlprotocol\/startloading()"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MockURLProtocol/canInit(with:)-8nlgj":{"role":"symbol","title":"canInit(with:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"canInit"},{"kind":"text","text":"("},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URLSessionTask","preciseIdentifier":"c:objc(cs)NSURLSessionTask"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MockURLProtocol\/canInit(with:)-8nlgj","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/mockurlprotocol\/caninit(with:)-8nlgj"},"doc://SwiftLibsCommunication/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/SwiftLibsCommunication\/SH"},"doc://SwiftLibsCommunication/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/SwiftLibsCommunication\/s23CustomStringConvertibleP"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication":{"role":"collection","title":"SwiftLibsCommunication","abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication"},"doc://SwiftLibsCommunication/s28CustomDebugStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomDebugStringConvertible","identifier":"doc:\/\/SwiftLibsCommunication\/s28CustomDebugStringConvertibleP"},"doc://SwiftLibsCommunication/objc(pl)NSObject":{"type":"unresolvable","title":"ObjectiveC.NSObjectProtocol","identifier":"doc:\/\/SwiftLibsCommunication\/objc(pl)NSObject"},"doc://SwiftLibsCommunication/objc(cs)NSURLProtocol":{"type":"unresolvable","title":"Foundation.URLProtocol","identifier":"doc:\/\/SwiftLibsCommunication\/objc(cs)NSURLProtocol"}}}