Skip to content

Commit

Permalink
Merge pull request #336 from api-platform/chore/update-from-standard-…
Browse files Browse the repository at this point in the history
…edition

chore: update from standard edition
  • Loading branch information
vincentchalamon authored Oct 3, 2023
2 parents 0d2c0c6 + acce35b commit 515be20
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 515be20

Please sign in to comment.