adds post and generic param decorators, and moves require_params into the decorators from our own codebase