OBP-API
OBP-API copied to clipboard
Inaccurate scheme example value for "scheme" in OBP APIs v3.0.0 swagger json
Documentation issue
In the swagger json (link below), the example for scheme is given as "BANK_ID" which is clearly not a scheme. Suggest inserting a valid example.
https://apisandbox.openbankproject.com/obp/v1.4.0/resource-docs/v3.0.0/swagger?core=&psd2=&obwg=
"BankRoutingJsonV121": { "required": ["scheme", "address"], "properties": { "address": { "type": "string", "example": "gh.29.uk" }, "scheme": { "type": "string", "example": "Bank_ID" } } },
Thanks for the issue.
But in OBP, scheme can be Bank_ID, here is an example for getBank.
https://apiexplorersandbox.openbankproject.com/?ignoredefcat=true&tags=#1_2_1-bankById
{ "id":"gh.29.uk", "short_name":"short_name ", "full_name":"full_name", "logo":"logo", "website":"www.openbankproject.com", "bank_routing":{ "scheme":"Bank_ID", "address":"gh.29.uk" } }