diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 73ee292..cf12347 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -153,10 +153,8 @@ To document your routes, you can use the SwaggerPHP annotations and the * response=200, * description="Returns the rewards of an user", * @OA\JsonContent( - * @OA\Schema( - * type="array", - * @OA\Items(ref=@Model(type=Reward::class, groups={"full"})) - * ) + * type="array", + * @OA\Items(ref=@Model(type=Reward::class, groups={"full"})) * ) * ) * @OA\Parameter(