Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion api/config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ api_platform:
[Its source code](https://github.com/api-platform/demo) includes various examples, check it out!
You may also be interested by [the GraphQL entrypoint](/graphql).
[A PWA](/) and [an admin](/admin) are consuming this API.
# Mercure integration, remove if unwanted
mercure: ~
graphql:
graphql_playground: false
formats:
jsonld: ['application/ld+json']
json: ['application/json']
docs_formats:
jsonld: ['application/ld+json']
jsonopenapi: ['application/vnd.openapi+json']
html: ['text/html']
mercure: ~
http_cache:
public: true
# Good defaults for REST APIs
defaults:
stateless: true
cache_headers:
Expand All @@ -23,6 +28,7 @@ api_platform:
standard_put: true
rfc_7807_compliant_errors: true
event_listeners_backward_compatibility_layer: false
keep_legacy_inflector: false
oauth:
enabled: true
clientId: '%env(OIDC_SWAGGER_CLIENT_ID)%'
Expand Down