wormhole-explorer/api/routes/wormscan
agodnic dde87acf84
[API] Several fixes related to pagination (#144)
### Summary
* On all endpoints, fix the behavior of the `page` parameter (which was previously being ignored).
* On `GET /api/v1/vaas`, fix the behavior of the `sortBy` parameter (which wasn't working when `parsedPayload=true`).
* For all endpoints, validate the query parameters `page`, `pageNumber` and `sortOrder`.
* Return descriptive errors when pagination-related parameters happen to be invalid (`page`, `pageSize`, `sortOrder`).
* Validate guardian addresses in query params.

### Testing plan
All parameters involved were manually tested.
2023-02-09 14:28:39 -03:00
..
governor [API] Several fixes related to pagination (#144) 2023-02-09 14:28:39 -03:00
infrastructure add make to docker 2023-02-05 09:52:56 -03:00
observations [API] Several fixes related to pagination (#144) 2023-02-09 14:28:39 -03:00
vaa [API] Several fixes related to pagination (#144) 2023-02-09 14:28:39 -03:00
routes.go [API] Several fixes related to pagination (#144) 2023-02-09 14:28:39 -03:00