Installing gii for mongodb error on model getTableSchema()

I did add gii for mongodb:

 'modules' => [
        'gii' => [
            'class' => 'yii\gii\Module',
            'generators' => [
                'mongoDbModel' => [
                    'class' => 'yii\mongodb\gii\model\Generator'
                ]
            ],
        ],
    ]

I did generate models and when I try to generate a crud I’m getting error :
## Call to undefined method frontend\apps\pageweb\models\WebIndex::getTableSchema()

Same issue here, how did the guy manage to do it???