fixed the swagger endpoint-- added explicit value for empty json string

This commit is contained in:
hongwei1 2018-02-20 09:31:11 +01:00
parent 6a23afa42e
commit 7019d59d29

View File

@ -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(