Files
test-apiplatform/api/config/packages/api_platform.yaml
Pitchaya Boonsarngsuk 6b6c18c79e All
2019-07-06 14:40:12 +01:00

21 lines
643 B
YAML

parameters:
# Adds a fallback VARNISH_URL if the env var is not set.
# This allows you to run cache:warmup even if your
# environment variables are not available yet.
# You should not need to change this value.
env(VARNISH_URL): ''
api_platform:
mapping:
paths: ['%kernel.project_dir%/src/Entity']
title: Hello API Platform
description: สวัสดีเพื่อนๆ
version: 1.0.0
show_webby: false
formats:
json: ['application/json']
xml: ['application/xml', 'text/xml']
yaml: ['application/x-yaml']
csv: ['text/csv']
html: ['text/html']