Create mock api generator