diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/AnotherFakeDummy.php b/samples/server/petstore/php-ze-ph/src/App/Handler/AnotherFakeDummy.php index 14c909284a0..ee20ba08d24 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/AnotherFakeDummy.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/AnotherFakeDummy.php @@ -17,7 +17,7 @@ class AnotherFakeDummy { /** * To test special tags - * @PHA\handlePatch + * @PHA\Patch() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\Client::class,"objectAttr":"bodyData"}) diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/Fake.php b/samples/server/petstore/php-ze-ph/src/App/Handler/Fake.php index 470ed213d4b..d93574b0367 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/Fake.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/Fake.php @@ -17,7 +17,7 @@ class Fake { /** * To test \"client\" model - * @PHA\handlePatch + * @PHA\Patch() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\Client::class,"objectAttr":"bodyData"}) @@ -38,7 +38,7 @@ class Fake } /** * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 - * @PHA\handlePost + * @PHA\Post() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented @@ -50,7 +50,7 @@ class Fake } /** * To test enum parameters - * @PHA\handleGet + * @PHA\Get() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented @@ -62,7 +62,7 @@ class Fake } /** * Fake endpoint to test group parameters (optional) - * @PHA\handleDelete + * @PHA\Delete() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithFileSchema.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithFileSchema.php index 3558e8774cb..47ce029df6e 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithFileSchema.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithFileSchema.php @@ -16,7 +16,7 @@ use Psr\Http\Message\ServerRequestInterface; class FakeBodyWithFileSchema { /** - * @PHA\handlePut + * @PHA\Put() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\FileSchemaTestClass::class,"objectAttr":"bodyData"}) diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithQueryParams.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithQueryParams.php index dceb6596ba2..9844c597816 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithQueryParams.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeBodyWithQueryParams.php @@ -16,7 +16,7 @@ use Psr\Http\Message\ServerRequestInterface; class FakeBodyWithQueryParams { /** - * @PHA\handlePut + * @PHA\Put() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\User::class,"objectAttr":"bodyData"}) diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeClassnameTest.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeClassnameTest.php index c32c1fad061..74991195dce 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeClassnameTest.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeClassnameTest.php @@ -17,7 +17,7 @@ class FakeClassnameTest { /** * To test class name in snake case - * @PHA\handlePatch + * @PHA\Patch() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\Client::class,"objectAttr":"bodyData"}) diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeCreateXmlItem.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeCreateXmlItem.php index c97907e2174..ec96b29c8ef 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeCreateXmlItem.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeCreateXmlItem.php @@ -17,7 +17,7 @@ class FakeCreateXmlItem { /** * creates an XmlItem - * @PHA\handlePost + * @PHA\Post() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/xml") * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeInlineAdditionalProperties.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeInlineAdditionalProperties.php index c6fd3bdee9f..bb6868c68e3 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeInlineAdditionalProperties.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeInlineAdditionalProperties.php @@ -17,7 +17,7 @@ class FakeInlineAdditionalProperties { /** * test inline additionalProperties - * @PHA\handlePost + * @PHA\Post() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * TODO check if attribute is valid and can handle your container type diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeJsonFormData.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeJsonFormData.php index 05f67537fd0..ed3e0f6d2ef 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeJsonFormData.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeJsonFormData.php @@ -17,7 +17,7 @@ class FakeJsonFormData { /** * test json serialization of form data - * @PHA\handleGet + * @PHA\Get() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterBoolean.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterBoolean.php index 72e86c1de80..2ecd0bc9c7d 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterBoolean.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterBoolean.php @@ -16,9 +16,9 @@ use Psr\Http\Message\ServerRequestInterface; class FakeOuterBoolean { /** - * @PHA\handlePost + * @PHA\Post() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation - * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="*/*") + * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="n/a") * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterComposite.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterComposite.php index f698c3409c2..8f3a4081caf 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterComposite.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterComposite.php @@ -16,10 +16,10 @@ use Psr\Http\Message\ServerRequestInterface; class FakeOuterComposite { /** - * @PHA\handlePost + * @PHA\Post() * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\OuterComposite::class,"objectAttr":"bodyData"}) * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation - * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="*/*") + * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="n/a") * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterNumber.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterNumber.php index cd8635cc6c3..595690de897 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterNumber.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterNumber.php @@ -16,9 +16,9 @@ use Psr\Http\Message\ServerRequestInterface; class FakeOuterNumber { /** - * @PHA\handlePost + * @PHA\Post() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation - * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="*/*") + * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="n/a") * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterString.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterString.php index ad4be0f6806..7ce93abfdbd 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterString.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakeOuterString.php @@ -16,9 +16,9 @@ use Psr\Http\Message\ServerRequestInterface; class FakeOuterString { /** - * @PHA\handlePost + * @PHA\Post() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation - * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="*/*") + * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="n/a") * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/FakePetIdUploadImageWithRequiredFile.php b/samples/server/petstore/php-ze-ph/src/App/Handler/FakePetIdUploadImageWithRequiredFile.php index e60b467f135..7648339dd49 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/FakePetIdUploadImageWithRequiredFile.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/FakePetIdUploadImageWithRequiredFile.php @@ -17,7 +17,7 @@ class FakePetIdUploadImageWithRequiredFile { /** * uploads an image (required) - * @PHA\handlePost + * @PHA\Post() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/json") * @param ServerRequestInterface $request diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/Pet.php b/samples/server/petstore/php-ze-ph/src/App/Handler/Pet.php index 6e41dbfe285..064a9712bf8 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/Pet.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/Pet.php @@ -17,7 +17,7 @@ class Pet { /** * Add a new pet to the store - * @PHA\handlePost + * @PHA\Post() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation @@ -36,7 +36,7 @@ class Pet } /** * Update an existing pet - * @PHA\handlePut + * @PHA\Put() * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Consumer(name=PHConsumer\Json::class, mediaType="application/json") * TODO check if consumer is valid, if it has correct priority and if it can be moved to class annotation diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByStatus.php b/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByStatus.php index 1b5dfd1d2dd..65fe83918d4 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByStatus.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByStatus.php @@ -17,7 +17,7 @@ class PetFindByStatus { /** * Finds Pets by status - * @PHA\handleGet + * @PHA\Get() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/xml") * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByTags.php b/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByTags.php index eb22aa3f0a7..0126ada37c0 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByTags.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/PetFindByTags.php @@ -17,7 +17,7 @@ class PetFindByTags { /** * Finds Pets by tags - * @PHA\handleGet + * @PHA\Get() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/xml") * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetId.php b/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetId.php index 3d39994737d..625bbf5832c 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetId.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetId.php @@ -17,7 +17,7 @@ class PetPetId { /** * Deletes a pet - * @PHA\handleDelete + * @PHA\Delete() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented @@ -29,7 +29,7 @@ class PetPetId } /** * Find pet by ID - * @PHA\handleGet + * @PHA\Get() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/xml") * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation @@ -47,7 +47,7 @@ class PetPetId } /** * Updates a pet in the store with form data - * @PHA\handlePost + * @PHA\Post() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetIdUploadImage.php b/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetIdUploadImage.php index db143c6f752..67cc0784caa 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetIdUploadImage.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/PetPetIdUploadImage.php @@ -17,7 +17,7 @@ class PetPetIdUploadImage { /** * uploads an image - * @PHA\handlePost + * @PHA\Post() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/json") * @param ServerRequestInterface $request diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/StoreInventory.php b/samples/server/petstore/php-ze-ph/src/App/Handler/StoreInventory.php index 1596b36f5ca..6d6d3ceb946 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/StoreInventory.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/StoreInventory.php @@ -17,7 +17,7 @@ class StoreInventory { /** * Returns pet inventories by status - * @PHA\handleGet + * @PHA\Get() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/json") * @param ServerRequestInterface $request diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrder.php b/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrder.php index a777451785d..23623764409 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrder.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrder.php @@ -17,7 +17,7 @@ class StoreOrder { /** * Place an order for a pet - * @PHA\handlePost + * @PHA\Post() * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\Order::class,"objectAttr":"bodyData"}) * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/xml") diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrderOrderId.php b/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrderOrderId.php index 9618069ea9a..28aa169a0c8 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrderOrderId.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/StoreOrderOrderId.php @@ -17,7 +17,7 @@ class StoreOrderOrderId { /** * Delete purchase order by ID - * @PHA\handleDelete + * @PHA\Delete() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented @@ -29,7 +29,7 @@ class StoreOrderOrderId } /** * Find purchase order by ID - * @PHA\handleGet + * @PHA\Get() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/xml") * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/User.php b/samples/server/petstore/php-ze-ph/src/App/Handler/User.php index c016c23e071..9d3d8ceb9e3 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/User.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/User.php @@ -17,7 +17,7 @@ class User { /** * Create user - * @PHA\handlePost + * @PHA\Post() * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\User::class,"objectAttr":"bodyData"}) * @param ServerRequestInterface $request * diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithArray.php b/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithArray.php index b0e44209dc7..8ac24b28f2f 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithArray.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithArray.php @@ -17,7 +17,7 @@ class UserCreateWithArray { /** * Creates list of users with given input array - * @PHA\handlePost + * @PHA\Post() * TODO check if attribute is valid and can handle your container type * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":"\App\DTO\User[]","objectAttr":"bodyData"}) * @param ServerRequestInterface $request diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithList.php b/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithList.php index 78532988688..27ccafbb5d2 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithList.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/UserCreateWithList.php @@ -17,7 +17,7 @@ class UserCreateWithList { /** * Creates list of users with given input array - * @PHA\handlePost + * @PHA\Post() * TODO check if attribute is valid and can handle your container type * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":"\App\DTO\User[]","objectAttr":"bodyData"}) * @param ServerRequestInterface $request diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogin.php b/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogin.php index 886b8bb0c3b..2322e8f2317 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogin.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogin.php @@ -17,7 +17,7 @@ class UserLogin { /** * Logs user into the system - * @PHA\handleGet + * @PHA\Get() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/xml") * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogout.php b/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogout.php index 3c858e04f80..4c0d8b1bb06 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogout.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/UserLogout.php @@ -17,7 +17,7 @@ class UserLogout { /** * Logs out current logged in user session - * @PHA\handleGet + * @PHA\Get() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented diff --git a/samples/server/petstore/php-ze-ph/src/App/Handler/UserUsername.php b/samples/server/petstore/php-ze-ph/src/App/Handler/UserUsername.php index fbeea79285d..290bfeb9731 100644 --- a/samples/server/petstore/php-ze-ph/src/App/Handler/UserUsername.php +++ b/samples/server/petstore/php-ze-ph/src/App/Handler/UserUsername.php @@ -17,7 +17,7 @@ class UserUsername { /** * Delete user - * @PHA\handleDelete + * @PHA\Delete() * @param ServerRequestInterface $request * * @throws PHException\HttpCode 501 if the method is not implemented @@ -29,7 +29,7 @@ class UserUsername } /** * Get user by user name - * @PHA\handleGet + * @PHA\Get() * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation * @PHA\Producer(name=PHProducer\Transfer::class, mediaType="application/xml") * TODO check if producer is valid, if it has correct priority and if it can be moved to class annotation @@ -47,7 +47,7 @@ class UserUsername } /** * Updated user - * @PHA\handlePut + * @PHA\Put() * @PHA\Attribute(name=PHAttribute\Transfer::class, options={"type":\App\DTO\User::class,"objectAttr":"bodyData"}) * @param ServerRequestInterface $request *