Skip to content

Commit

Permalink
chore: update from standard edition
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Oct 3, 2023
1 parent 0d2c0c6 commit acce35b
Showing 1 changed file with 7 additions and 1 deletion.
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

0 comments on commit acce35b

Please sign in to comment.