问题是我需要文档来证明可以以数组的形式传输字段列,并在其中传输以下字段(名称、描述、created_at、updated_at、作者)。json 已成功生成,但在 swagger-editor 文档中,这些字段不可见
/**
* @SWG\Get(path="/articles",
* tags={"Article"},
* summary="Get all Articles",
* description="Show list of Articles",
* operationId="all",
* produces={"application/json"},
* @SWG\Parameter(
* name="columns",
* in="query",
* description="get specific columns",
* required=false,
* type="array",
* collectionFormat="multi",
* @SWG\Items(
* type="string",
* @SWG\Property(property="name", type="string"),
* @SWG\Property(property="description", type="string"),
* @SWG\Property(property="author", type="string"),
* @SWG\Property(property="created_at", type="string"),
* @SWG\Property(property="updated_at)", type="string")
* )
* ),
* @SWG\Response(response="200"),
* @SWG\Response(response=500)
* ),
* )
*/