You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
api_platform:
|
|
|
|
title: Hello API Platform
|
|
|
|
version: 1.0.0
|
|
|
|
# Good defaults for REST APIs
|
|
|
|
defaults:
|
|
|
|
stateless: true
|
|
|
|
cache_headers:
|
|
|
|
vary: ['Content-Type', 'Authorization', 'Origin']
|
|
|
|
extra_properties:
|
|
|
|
standard_put: true
|
|
|
|
exception_to_status:
|
|
|
|
Doctrine\DBAL\Exception\UniqueConstraintViolationException: 409
|
|
|
|
formats:
|
|
|
|
json: ['application/json']
|
|
|
|
html: ['text/html']
|
|
|
|
docs_formats:
|
|
|
|
jsonopenapi: ['application/vnd.openapi+json']
|
|
|
|
html: ['text/html']
|
|
|
|
event_listeners_backward_compatibility_layer: false
|
|
|
|
keep_legacy_inflector: false
|