mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 18:56:49 +00:00
Merge pull request #188 from hongwei1/develop
feature/support the V500 version
This commit is contained in:
commit
9e839cb1a9
@ -49,6 +49,7 @@ object ObpAPI extends Loggable {
|
||||
final val ContentEqualDynamic = "content=dynamic"
|
||||
final val UnknownErrorMessage = "Unknown Error!"
|
||||
final val OBPVersionV400 = "OBPv4.0.0"
|
||||
final val OBPVersionV500 = "OBPv5.0.0"
|
||||
final val UKVersionV31 = "UKv3.1"
|
||||
final val UKVersionV20 = "UKv2.0"
|
||||
final val BGVersionV13 = "BGv1.3"
|
||||
|
||||
@ -343,7 +343,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
|
||||
|
||||
val defaultVersion: String = Helper.getPropsValue("default.version") match {
|
||||
case Full(v) => v
|
||||
case _ => OBPVersionV400
|
||||
case _ => OBPVersionV500
|
||||
}
|
||||
|
||||
// Get the requested version from the url parameter and default if none
|
||||
@ -352,7 +352,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
|
||||
|
||||
|
||||
// Possible OBP Versions
|
||||
val obpVersionsSupported = List("OBPv3.1.0", OBPVersionV400)
|
||||
val obpVersionsSupported = List(OBPVersionV400, OBPVersionV500)
|
||||
|
||||
|
||||
val otherVersionsSupported = List(BGVersionV13, UKVersionV31)
|
||||
@ -368,6 +368,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
|
||||
"OBPv3.0.0",
|
||||
"OBPv3.1.0",
|
||||
OBPVersionV400,
|
||||
OBPVersionV500,
|
||||
UKVersionV31,
|
||||
BGVersionV13,
|
||||
STETv14,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user