Improve swagger doc

This commit is contained in:
Arnau B
2020-11-18 12:55:03 +01:00
parent 0e7d3e72fd
commit 86029ca7de
2 changed files with 257 additions and 20 deletions

View File

@@ -18,9 +18,6 @@ type SlotAPI struct {
LastBlock int64 `json:"lastBlock"`
OpenAuction bool `json:"openAuction"`
WinnerBid *historydb.BidAPI `json:"bestBid"`
TotalItems uint64 `json:"-"`
FirstItem uint64 `json:"-"`
LastItem uint64 `json:"-"`
}
func (a *API) getFirstLastBlock(slotNum int64) (int64, int64) {