mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 18:56:49 +00:00
obwg, psd2, core parameters persist
This commit is contained in:
parent
0f15dce255
commit
e1bd344b7e
@ -108,6 +108,14 @@ class ApiExplorer extends Loggable {
|
||||
logger.info(s"showOBWG is $showOBWG")
|
||||
|
||||
|
||||
val showString = showCore.map(i => s"core=$showCore&").toString + showPSD2.map(i => s"psd2=$showPSD2").toString
|
||||
|
||||
|
||||
val showParams = s"&core=${showCore.getOrElse("")}&psd2=${showPSD2.getOrElse("")}&obwg=${showOBWG.getOrElse("")}"
|
||||
|
||||
println(showParams)
|
||||
|
||||
|
||||
|
||||
def stringToNodeSeq(html : String) : NodeSeq = {
|
||||
scala.xml.XML.loadString("<div>" + html + "</div>")
|
||||
@ -322,7 +330,7 @@ class ApiExplorer extends Loggable {
|
||||
}
|
||||
|
||||
|
||||
val url = s"${CurrentReq.value.uri}?version=${apiVersionRequested}&list-all-banks=${listAllBanks}"
|
||||
val url = s"${CurrentReq.value.uri}?version=${apiVersionRequested}&list-all-banks=${listAllBanks}${showParams}"
|
||||
|
||||
// So we can highlight (or maybe later exclusively show) the "active" banks in a sandbox.
|
||||
// Filter out empty string items
|
||||
|
||||
Loading…
Reference in New Issue
Block a user