We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 085869b commit 9495f01Copy full SHA for 9495f01
core/operations.md
@@ -296,7 +296,7 @@ You may want custom groups on subresources. Because a subresource is nothing mor
296
use ApiPlatform\Core\Annotation\ApiResource;
297
298
/**
299
- * @ApiResource(collectionOperations={"api_questions_answer_get_subresource"={"method"="GET", "normalization_context"="{"groups"={"foobar"}}"}})
+ * @ApiResource(collectionOperations={"api_questions_answer_get_subresource"={"method"="GET", "normalization_context"={"groups"={"foobar"}}}})
300
*/
301
class Answer
302
{
0 commit comments