-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Currently it is supported to use /rest/catalog/banks/{countryCode}/{bankCode}. Unfortunately this request returns something different when called without parameters (returning all supported banks).
Especially mapping this is real pain since static typed languages normally do not allow you to put different types in the same list. Is there a chance for a server API fix soon? I'd be glad to provide a PR after this is resolved, but I currently don't want to build a custom deserializer to fix this.
"icon":[
"https://api.figo.me/assets/images/accounts/bundesbank.png",
{
"120x120":"https://api.figo.me/assets/images/accounts/bundesbank_120.png",
"144x144":"https://api.figo.me/assets/images/accounts/bundesbank_144.png",
"192x192":"https://api.figo.me/assets/images/accounts/bundesbank_192.png",
"256x256":"https://api.figo.me/assets/images/accounts/bundesbank_256.png",
"48x48":"https://api.figo.me/assets/images/accounts/bundesbank_48.png",
"60x60":"https://api.figo.me/assets/images/accounts/bundesbank_60.png",
"72x72":"https://api.figo.me/assets/images/accounts/bundesbank_72.png",
"84x84":"https://api.figo.me/assets/images/accounts/bundesbank_84.png",
"96x96":"https://api.figo.me/assets/images/accounts/bundesbank_96.png"
}
]