dde87acf84
### 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. |
||
---|---|---|
.. | ||
error_handler.go | ||
extract_pagination.go | ||
extract_parameters.go |