maybe `self.req_gen`? api_gen seems to imply it generates an api