Add endpoint resource dir to generator