Skip to content

Commit

Permalink
Merge pull request #1851 from javiereguiluz/patch-3
Browse files Browse the repository at this point in the history
[Doc] Fix some minor RST issues
  • Loading branch information
GuilhemN authored Jul 18, 2021
2 parents d107dc6 + 5232463 commit 06bc513
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ General PHP objects
NOTE: If you are using serialization contexts (e.g. Groups) each permutation will be treated as a separate Path. For example if you have the following two variations defined in different places in your code:

.. code-block:: php
/**
* A nested serializer property with no context group
*
Expand All @@ -274,7 +275,8 @@ General PHP objects
return $this->items;
}
.. code-block::
.. code-block:: php
@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.
Expand Down

0 comments on commit 06bc513

Please sign in to comment.