<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_func(self, transmute_func, transmute_context):
 """ add a transmute function's swagger definition to the spec """

        swagger_path = transmute_func.get_swagger_path(transmute_context)
        for p in transmute_func.paths:
            self.add_path(p, swagger_path)