diff --git a/docs/guide/rest-versioning.md b/docs/guide/rest-versioning.md index 50b4e1ae00..0f2483fbf0 100644 --- a/docs/guide/rest-versioning.md +++ b/docs/guide/rest-versioning.md @@ -69,9 +69,11 @@ return [ 'modules' => [ 'v1' => [ 'basePath' => '@app/modules/v1', + 'controllerNamespace' => 'app\modules\v1\controllers', ], 'v2' => [ 'basePath' => '@app/modules/v2', + 'controllerNamespace' => 'app\modules\v2\controllers', ], ], 'components' => [