Swagger improvements

This commit is contained in:
Arnau B
2021-01-07 17:51:10 +01:00
parent ef8a6d1397
commit b4d8e68730
3 changed files with 59 additions and 85 deletions

View File

@@ -200,9 +200,9 @@ func (e ExitAPI) MarshalJSON() ([]byte, error) {
"hezEthereumAddress": e.EthAddr,
"merkleProof": e.MerkleProof,
"balance": e.Balance,
"instantWithdrawn": e.InstantWithdrawn,
"instantWithdraw": e.InstantWithdrawn,
"delayedWithdrawRequest": e.DelayedWithdrawRequest,
"delayedWithdrawn": e.DelayedWithdrawn,
"delayedWithdraw": e.DelayedWithdrawn,
"token": map[string]interface{}{
"id": e.TokenID,
"itemId": e.TokenItemID,