Improve swagger doc

This commit is contained in:
Arnau B
2020-11-26 10:15:02 +01:00
parent 0c83417881
commit 5991752e30
9 changed files with 260 additions and 147 deletions

View File

@@ -255,7 +255,7 @@ func TestGetHistoryTxs(t *testing.T) {
}
}
// Get all (no filters)
limit := 8
limit := 20
path := fmt.Sprintf("%s?limit=%d&fromItem=", endpoint, limit)
err := doGoodReqPaginated(path, historydb.OrderAsc, &testTxsResponse{}, appendIter)
assert.NoError(t, err)