File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,20 @@ api_platform:
6
6
[Its source code](https://github.com/api-platform/demo) includes various examples, check it out!
7
7
You may also be interested by [the GraphQL entrypoint](/graphql).
8
8
[A PWA](/) and [an admin](/admin) are consuming this API.
9
+ # Mercure integration, remove if unwanted
10
+ mercure : ~
9
11
graphql :
10
12
graphql_playground : false
11
13
formats :
12
14
jsonld : ['application/ld+json']
13
15
json : ['application/json']
16
+ docs_formats :
17
+ jsonld : ['application/ld+json']
18
+ jsonopenapi : ['application/vnd.openapi+json']
14
19
html : ['text/html']
15
- mercure : ~
16
20
http_cache :
17
21
public : true
22
+ # Good defaults for REST APIs
18
23
defaults :
19
24
stateless : true
20
25
cache_headers :
@@ -23,6 +28,7 @@ api_platform:
23
28
standard_put : true
24
29
rfc_7807_compliant_errors : true
25
30
event_listeners_backward_compatibility_layer : false
31
+ keep_legacy_inflector : false
26
32
oauth :
27
33
enabled : true
28
34
clientId : ' %env(OIDC_SWAGGER_CLIENT_ID)%'
You can’t perform that action at this time.
0 commit comments