def wrapper(func: typing.Callable) -> typing.Callable: func._meta = ResourceMethodMeta( path=path, methods=methods if methods is not None else ["GET"], name=name, kwargs=kwargs) return func