We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e54293 commit bfe62cdCopy full SHA for bfe62cd
1 file changed
tests/Fixtures/TestBundle/ApiResource/Polymorphism/Book.php
@@ -20,9 +20,10 @@
20
use Symfony\Component\Serializer\Attribute\DiscriminatorMap;
21
22
#[ApiResource(
23
+ uriTemplate: '/polymorphism_books',
24
operations: [
25
new GetCollection(),
- new Get(),
26
+ new Get(uriTemplate: '/polymorphism_books/{id}'),
27
],
28
)]
29
#[DiscriminatorMap(typeProperty: 'bookType', mapping: [
0 commit comments