Swift extension - Constrained extension must be declared on the unspecialized generic type 'Array'
I assume you mean
extension MyModels: NetworkModel {
has an error? You seem to have missed an s
there.
The error is basically telling you to do this:
extension Array : NetworkModel where Element == MyModel {
static var path = "the/endpoint/path"
}
You can't simply make an extension of [MyModel]
.