[Doc] Fix a minor syntax issue (#1846)

This commit is contained in:
Javier Eguiluz 2021-07-09 19:03:13 +02:00 committed by GitHub
parent 2df454c0c3
commit d107dc6dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,7 +274,7 @@ General PHP objects
return $this->items; return $this->items;
} }
.. code-block .. code-block::
@OA\Schema(ref=@Model(type="App\Response\ItemResponse", groups=["Default"])), @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. It will generate two different component schemas (ItemResponse, ItemResponse2), even though Default and blank are the same. This is by design.