https://app.quicktype.io
и уже по готовой моделеAlamofire.request("", method: .get, parameters: parameters).validate().responseJSON { response in
let jsonDecoder = JSONDecoder()
switch(response.result) {
case .success:
if let data = response.data {
do {
let json = try jsonDecoder.decode(Model.self, from: data)
completion(json, nil)
} catch let error {
print("\n Json Error \n", error.localizedDescription)
}
....