Ios swift – Array of generic structs that confrom to a protocol
I have a protocol called Endpoint public protocol Endpoint { associatedtype ModelType: Codable var path: String { get } var method: HTTPMethod { get } var headers: [String: String] { get } var parameters: Parameters? { get set } var…