0

我有以下代码:在/lib/App/Vendor/bin我创建了一个文件:constants.php带有一个定义 define('AUTH', 'test');现在当我尝试执行时php swagger --boostrap constants.php

我得到错误:

Scanning files in '/lib/App/Vendor/bin' ...[INFO] Required @SWG\Info() not found 我不明白问题出在哪里。请帮我 !提前谢谢!请帮帮我......现在有人问题了吗?

/**
* @SWG\Swagger(
*     schemes={"http","https"},
*     host=AUTH,
*     basePath="/",
*     @SWG\Info(
*         version="0.1",
*         title="Api's ",
*     ),
* )
*/
4

0 回答 0