Skip to content

Commit 8280032

Browse files
soyukadunglas
andauthored
Apply suggestions from code review
Co-authored-by: Kévin Dunglas <[email protected]>
1 parent 4e64d58 commit 8280032

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

api-platform/core/3.2/config/packages/api_platform.yaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,16 @@ api_platform:
22
title: Hello API Platform
33
version: 1.0.0
44
formats:
5-
jsonld:
6-
- application/ld+json
5+
jsonld: ['application/ld+json']
76
doc_formats:
8-
jsonopenapi:
9-
- application/vnd.openapi+json
10-
jsonld:
11-
- application/ld+json
12-
html:
13-
- text/html
7+
jsonld: ['application/ld+json']
8+
html: ['text/html']
149
event_listeners_backward_compatibility_layer: false
1510
keep_legacy_inflector: false
1611
defaults:
1712
stateless: true
1813
cache_headers:
19-
vary:
20-
- Content-Type
21-
- Authorization
22-
- Origin
14+
vary: ['Content-Type', 'Authorization', 'Origin']
2315
extra_properties:
2416
standard_put: true
2517
rfc_7807_compliant_errors: true
26-

0 commit comments

Comments
 (0)