[FAQ] swagger-php @OA\JsonContent 与 @MediaType @OA\Schema 的用法

@OA\JsonContent 是对 @MediaType @OA\Schema 两者的封装,类似于 laravel 中 JsonResponse 对 Response 的封装。 @OA\JsonContent 例子: * @OA\Response( * response=200, * descri

posted on 2020-11-21 18:09  ercom  阅读(912)  评论(0编辑  收藏  举报