All
This commit is contained in:
@@ -9,16 +9,12 @@ api_platform:
|
||||
mapping:
|
||||
paths: ['%kernel.project_dir%/src/Entity']
|
||||
title: Hello API Platform
|
||||
description: สวัสดีเพื่อนๆ
|
||||
version: 1.0.0
|
||||
# Varnish integration, remove if unwanted
|
||||
http_cache:
|
||||
invalidation:
|
||||
enabled: true
|
||||
varnish_urls: ['%env(VARNISH_URL)%']
|
||||
max_age: 0
|
||||
shared_max_age: 3600
|
||||
vary: ['Content-Type', 'Authorization']
|
||||
public: true
|
||||
# Mercure integration, remove if unwanted
|
||||
mercure:
|
||||
hub_url: '%env(MERCURE_SUBSCRIBE_URL)%'
|
||||
show_webby: false
|
||||
formats:
|
||||
json: ['application/json']
|
||||
xml: ['application/xml', 'text/xml']
|
||||
yaml: ['application/x-yaml']
|
||||
csv: ['text/csv']
|
||||
html: ['text/html']
|
||||
|
||||
Reference in New Issue
Block a user