From dcc1cd896417b844a01d4b69eaacf05107892016 Mon Sep 17 00:00:00 2001 From: Guilhem Niot Date: Sat, 11 Jun 2022 09:56:29 +0200 Subject: [PATCH] Fix parameter sharing example (#2004) --- Resources/doc/faq.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Resources/doc/faq.rst b/Resources/doc/faq.rst index 53c901c..94d9517 100644 --- a/Resources/doc/faq.rst +++ b/Resources/doc/faq.rst @@ -35,11 +35,9 @@ A: You can configure ``schemas`` in the nelmio_api_doc configuration and then re * @OA\Response( * response=200, * description="List of image definitions", - * @OA\JsonContent(@OA\Schema( - * type="object", - * title="ListOperationsResponse", - * additionalProperties={"$ref": "#/components/schemas/NelmioImageList"} - * )) + * @OA\JsonContent( + * ref="#/components/schemas/NelmioImageList", + * ) */ Optional Path Parameters