Skip to content

Commit 71b4f35

Browse files
committed
docs: format breaking change
1 parent bc96751 commit 71b4f35

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ These namespaces are deprecated:
7272

7373
Most of the classes have moved to `ApiPlatform\Metadata`.
7474

75+
If a format is not specified in either the global configuration or the `outputFormats` of an operation, you'll get a 406 Not Acceptable error:
76+
77+
```yaml
78+
api_platform:
79+
formats:
80+
jsonld: ['application/ld+json']
81+
form: ['multipart/form-data']
82+
```
83+
84+
7585
## v3.2.15
7686

7787
### Bug fixes

0 commit comments

Comments
 (0)