You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Sorry, for replying delayed. We are aware of the differences between one array item of /catalog/banks and the single item of /catalog/banks/<country_code>/<bank_code>. We are trying to solve this, but we must respect some partners, who might break when changing this.
I will keep this open until there we adjusted these endpoint to deliver identical items.
If you are willing to provide PRs before that, we are definitely willing to merge them.
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.
The text was updated successfully, but these errors were encountered: