api-docs
api-docs copied to clipboard
2.0版本发布配置文件报错
php bin/hyperf.php vendor:publish tangwei/apidocs 2.0版本报错下面的是什么轻快 There are no commands defined in the "vendor" namespace.
修改文件 config/autoload/annotations.php
return [
'scan' => [
'paths' => [
BASE_PATH . '/app',
],
'ignore_annotations' => [
'mixin',
'required'
],
],
];
ignore_annotations 增加 required