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.
2 parents 085869b + 9495f01 commit 7f5b96bCopy full SHA for 7f5b96b
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