def METHOD_NAME(self, function: t.Callable) -> t.Callable:
    """Decorate a function with decorators based on the operation."""
    function = self._sync_async_decorator(function)
    parameter_decorator = self._parameter_decorator_cls(
        framework=self.framework,
        pythonic_params=self.pythonic_params,
    )
    function = parameter_decorator(function)
    response_decorator = self._response_decorator_cls(
        framework=self.framework,
        jsonifier=self.jsonifier,
    )
    function = response_decorator(function)
    return function