fix: routing.

This patch fixes routing issues by calling validation decorators before
the expose() decorators. This is necessary becasue the expose()
decorator inspects the definition of the next function in order to map
params to the endpoint's function.
Merge pull request #73 from painterjd/fix_validation_routingg

fix: routing