added validator for long params
added validators to docs