Skip to content

Commit 63cef67

Browse files
authored
Merge pull request #737 from antograssiot/io-update
Update to output attribute
2 parents 62a1286 + a0e3190 commit 63cef67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/messenger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use Symfony\Component\Validator\Constraints as Assert;
3434
* "post"={"status"=202}
3535
* },
3636
* itemOperations={},
37-
* outputClass=false
37+
* output=false
3838
* )
3939
*/
4040
final class ResetPasswordRequest
@@ -53,7 +53,7 @@ Because the `messenger` attribute is `true`, when a `POST` will be handled by AP
5353
For this example, only the `POST` operation is enabled.
5454
We use the `status` attribute to configure API Platform to return a [202 Accepted HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202).
5555
It indicates that the request has been received and will be treated later, without giving an immediate return to the client.
56-
Finally, the `output_class` attribute is set to `false`, so the HTTP response that will be generated by API Platform will be empty, and the [serialization process](serialization.md) will be skipped.
56+
Finally, the `output` attribute is set to `false`, so the HTTP response that will be generated by API Platform will be empty, and the [serialization process](serialization.md) will be skipped.
5757

5858
## Registering a Message Handler
5959

0 commit comments

Comments
 (0)