Skip to content

Commit f2948d4

Browse files
authored
docs: fix formats attribute name (#1441)
1 parent 087014d commit f2948d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/content-negotiation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ api_platform:
9797
Support for specific formats can also be configured at resource and operation level using the `input_formats` and `output_formats` attributes.
9898
`input_formats` controls the formats accepted in request bodies while `output_formats` controls formats available for responses.
9999

100-
The `format` attribute can be used as a shortcut, it sets both the `input_formats` and `output_formats` in one time.
100+
The `formats` attribute can be used as a shortcut, it sets both the `input_formats` and `output_formats` in one time.
101101

102102
```php
103103
<?php

0 commit comments

Comments
 (0)