We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887074b commit dcf0cc0Copy full SHA for dcf0cc0
controller.rst
@@ -506,9 +506,9 @@ payload formats::
506
507
If you write a JSON API, make sure to declare your route to use the JSON
508
format. This will make the error handling output a JSON response in case of
509
- validation errors, rather than an HTML page.
+ validation errors, rather than an HTML page::
510
511
- ``#[Route('/dashboard', name: 'dashboard', format: 'json')]
+ #[Route('/dashboard', name: 'dashboard', format: 'json')]
512
513
Make sure to install `phpstan/phpdoc-parser`_ and `phpdocumentor/type-resolver`_
514
if you want to map a nested array of specific DTOs::
0 commit comments