From d107dc6dd683a94b43a74810aa4b1047ad891b0e Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 9 Jul 2021 19:03:13 +0200 Subject: [PATCH] [Doc] Fix a minor syntax issue (#1846) --- Resources/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 0538183..515b836 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -274,7 +274,7 @@ General PHP objects return $this->items; } - .. code-block + .. code-block:: @OA\Schema(ref=@Model(type="App\Response\ItemResponse", groups=["Default"])), It will generate two different component schemas (ItemResponse, ItemResponse2), even though Default and blank are the same. This is by design.