"vscode:/vscode.git/clone" n'existait pas sur "d4a030f953df0e34ad288ab12fe9b8d09e5cade9"
Newer
Older
api_platform:
title: Hello API Platform
version: 1.0.0
# Mercure integration, remove if unwanted
mercure: ~
formats:
jsonld: ['application/ld+json']
docs_formats:
jsonld: ['application/ld+json']
jsonopenapi: ['application/vnd.openapi+json']
html: ['text/html']
# Good defaults for REST APIs
defaults:
stateless: true
cache_headers:
vary: ['Content-Type', 'Authorization', 'Origin']
extra_properties:
standard_put: true
rfc_7807_compliant_errors: true
event_listeners_backward_compatibility_layer: false
keep_legacy_inflector: false
mapping:
paths: [ '%kernel.project_dir%/src/Entity' ]