adding entity in present calls to the api generator