This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol TokyoChallengeAPIRequest: Request { | |
var params: [String: Any] { get set } | |
} | |
extension TokyoChallengeAPIRequest { | |
var baseURL: URL { | |
return URL(string: "https://api-tokyochallenge.odpt.org/api/v4/")! | |
} | |
var parameters: Any? { | |
var params = self.params |