singular model in the api generator