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.