OBP-API icon indicating copy to clipboard operation
OBP-API copied to clipboard

Inaccurate scheme example value for "scheme" in OBP APIs v3.0.0 swagger json

Open fergalo opened this issue 8 years ago • 1 comments

2017-08-02_1011 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" } } },

fergalo avatar Aug 03 '17 11:08 fergalo

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" } }

hongwei1 avatar Oct 31 '17 08:10 hongwei1