mirror of
https://github.com/symfony/recipes.git
synced 2026-09-21 20:16:37 +03:00
[api-platform/core] Support for v3.4 and v4 (#1339)
* [api-platform/core] Support for v4 * fix * fix graphql * fix graphql
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
api_platform:
|
||||
title: Hello API Platform
|
||||
version: 1.0.0
|
||||
formats:
|
||||
jsonld: ['application/ld+json']
|
||||
docs_formats:
|
||||
jsonld: ['application/ld+json']
|
||||
jsonopenapi: ['application/vnd.openapi+json']
|
||||
html: ['text/html']
|
||||
defaults:
|
||||
stateless: true
|
||||
cache_headers:
|
||||
vary: ['Content-Type', 'Authorization', 'Origin']
|
||||
extra_properties:
|
||||
standard_put: true
|
||||
rfc_7807_compliant_errors: true
|
||||
keep_legacy_inflector: false
|
||||
use_symfony_listeners: true
|
||||
Reference in New Issue
Block a user