【发布时间】:2019-05-25 14:27:04
【问题描述】:
我尝试添加任意类型的嵌套数组。 这些是我的注释:
* @OA\Property(
* @OA\Schema(
* type="array",
* @OA\Items(
* type="array",
* @OA\Items(type={})
* )
* ),
* description="bla bla bla"
* )
【问题讨论】:
-
如果将
@OA\Items(type={})替换为@OA\Items()会怎样? -
我已经试过了,不行
标签: php openapi swagger-php