Commit e1c336a8 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

S'assure qu'EntityWithDTO a une méthode d'item "GET".

Pour qu'elle ait bien un template d'URI.
parent e3946f99
...@@ -28,10 +28,11 @@ use Ramsey\Uuid\Uuid; ...@@ -28,10 +28,11 @@ use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface; use Ramsey\Uuid\UuidInterface;
/** /**
* Class EntityWithCustomMethods. * Class EntityWithDTO.
* *
* @API\ApiResource( * @API\ApiResource(
* itemOperations={ * itemOperations={
* "get",
* "put": { * "put": {
* "method": "PUT", * "method": "PUT",
* "input": InputDTO::class, * "input": InputDTO::class,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment