Skip to content

Commit acce35b

Browse files
chore: update from standard edition
1 parent 0d2c0c6 commit acce35b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

api/config/packages/api_platform.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@ api_platform:
66
[Its source code](https://github.com/api-platform/demo) includes various examples, check it out!
77
You may also be interested by [the GraphQL entrypoint](/graphql).
88
[A PWA](/) and [an admin](/admin) are consuming this API.
9+
# Mercure integration, remove if unwanted
10+
mercure: ~
911
graphql:
1012
graphql_playground: false
1113
formats:
1214
jsonld: ['application/ld+json']
1315
json: ['application/json']
16+
docs_formats:
17+
jsonld: ['application/ld+json']
18+
jsonopenapi: ['application/vnd.openapi+json']
1419
html: ['text/html']
15-
mercure: ~
1620
http_cache:
1721
public: true
22+
# Good defaults for REST APIs
1823
defaults:
1924
stateless: true
2025
cache_headers:
@@ -23,6 +28,7 @@ api_platform:
2328
standard_put: true
2429
rfc_7807_compliant_errors: true
2530
event_listeners_backward_compatibility_layer: false
31+
keep_legacy_inflector: false
2632
oauth:
2733
enabled: true
2834
clientId: '%env(OIDC_SWAGGER_CLIENT_ID)%'

0 commit comments

Comments
 (0)