get())); } /** * @OA\Get( * path="/api/v1/group/{group}", * summary="Get category", * @OA\Parameter( * description="Slug of one group", * name="group", * in="path", * required=true, * @OA\Schema( * type="string" * ), * ), * @OA\Parameter( * description="sub posts per page", * name="per_page", * in="query", * required=false, * @OA\Schema( * type="integer" * ) * ), * @OA\Response( * response=200, * description="A group with datas" * ) * ) */ public function show(Group $group) { // return success(GroupCollection::make($group)); } }