mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:37:00 +00:00
fixed the swagger endpoint-- added explicit value for empty json string
This commit is contained in:
parent
6a23afa42e
commit
7019d59d29
@ -1148,7 +1148,7 @@ object APIUtil extends MdcLoggable {
|
||||
//check #511, https://github.com/OpenBankProject/OBP-API/issues/511
|
||||
// get rid of JValue, but in API-EXPLORER or other places, it need the Empty JValue "{}"
|
||||
// So create the EmptyClassJson to set the empty JValue "{}"
|
||||
case class EmptyClassJson()
|
||||
case class EmptyClassJson(jsonString: String ="{}")
|
||||
|
||||
// Used to document the API calls
|
||||
case class ResourceDoc(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user