bee icon indicating copy to clipboard operation
bee copied to clipboard

Simplify HTTP API input parameters check

Open mrekucci opened this issue 3 years ago • 0 comments

Currently, a parameters check is performed at the beginning of each HTTP handler. This parameter check is very repetitive and unnecessarily increases the size of the handler's body. Find a way to reduce the repetitive code. Consider using the https://github.com/go-playground/validator library or any other library that accomplishes this task.

mrekucci avatar Aug 10 '22 13:08 mrekucci