changed name of BaseApi to GeneratedBaseApi