Skip to content

Commit

Permalink
Merge pull request api-platform#1013 from MrNicodemuz/patch-2
Browse files Browse the repository at this point in the history
Add missing method attribute for YAML example
  • Loading branch information
teohhanhui authored Dec 26, 2019
2 parents 908e312 + 99ea089 commit 7e8a59d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/subresources.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Or using YAML:
App\Entity\Answer:
subresourceOperations:
api_questions_answer_get_subresource:
method: 'GET'
normalization_context: {groups: ['foobar']}
```

Expand Down

0 comments on commit 7e8a59d

Please sign in to comment.