docs: 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)