2012-04-13 14:11:54 +02:00
|
|
|
framework:
|
|
|
|
secret: test
|
|
|
|
csrf_protection:
|
|
|
|
enabled: true
|
|
|
|
router: { resource: "%kernel.root_dir%/config/routing.yml" }
|
|
|
|
validation: { enabled: true, enable_annotations: true }
|
|
|
|
form: ~
|
|
|
|
test: ~
|
|
|
|
default_locale: en
|
|
|
|
session:
|
|
|
|
storage_id: session.storage.mock_file
|
2012-06-27 09:46:29 +02:00
|
|
|
profiler: { only_exceptions: false }
|
2012-04-13 14:11:54 +02:00
|
|
|
templating: { engines: ['twig'] }
|
|
|
|
|
|
|
|
# Twig Configuration
|
|
|
|
twig:
|
|
|
|
debug: %kernel.debug%
|
|
|
|
strict_variables: %kernel.debug%
|
2012-04-14 10:11:52 +02:00
|
|
|
|
|
|
|
services:
|
2014-03-27 19:49:59 +00:00
|
|
|
nelmio.test.controller:
|
2012-04-14 10:11:52 +02:00
|
|
|
class: Nelmio\ApiDocBundle\Tests\Fixtures\Controller\TestServiceController
|
2012-06-21 00:12:21 +02:00
|
|
|
nelmio.test.type:
|
|
|
|
class: Nelmio\ApiDocBundle\Tests\Fixtures\Form\DependencyType
|
|
|
|
arguments:
|
|
|
|
- [foo, bar]
|
|
|
|
tags:
|
|
|
|
- { name: form.type, alias: dependency_type }
|
2012-08-07 17:50:58 -04:00
|
|
|
|
2015-11-10 01:51:26 +01:00
|
|
|
parameters:
|
|
|
|
domain_prod: test.com
|
|
|
|
domain_dev: test.dev
|
|
|
|
|
2012-08-07 17:50:58 -04:00
|
|
|
#JMS Serializer config for testing JmsMetadataParser
|
|
|
|
jms_serializer:
|
|
|
|
handlers:
|
|
|
|
datetime:
|
2013-02-11 14:42:17 +01:00
|
|
|
default_format: "Y-m-dTH:i:s" # ISO8601
|
2012-08-07 17:50:58 -04:00
|
|
|
default_timezone: "UTC" # defaults to whatever timezone set in php.ini or via date_default_timezone_set
|
|
|
|
|
|
|
|
property_naming:
|
|
|
|
separator: _
|
|
|
|
lower_case: true
|
|
|
|
|
|
|
|
metadata:
|
|
|
|
cache: file
|
|
|
|
debug: "%kernel.debug%"
|
|
|
|
file_cache:
|
|
|
|
dir: "%kernel.cache_dir%/serializer"
|
|
|
|
|
|
|
|
# Using auto-detection, the mapping files for each bundle will be
|
|
|
|
# expected in the Resources/config/serializer directory.
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# class: My\FooBundle\Entity\User
|
|
|
|
# expected path: @MyFooBundle/Resources/config/serializer/Entity.User.(yml|xml|php)
|
|
|
|
auto_detection: true
|
2014-01-16 13:42:37 +01:00
|
|
|
|
|
|
|
nelmio_api_doc:
|
2014-08-04 10:58:41 -07:00
|
|
|
sandbox:
|
|
|
|
authentication:
|
|
|
|
delivery: header
|
|
|
|
name: access_token
|
2014-07-21 10:26:06 -07:00
|
|
|
cache:
|
|
|
|
enabled: true
|
2014-01-16 13:42:37 +01:00
|
|
|
exclude_sections: ["private", "exclusive"]
|
2014-06-17 17:05:00 -07:00
|
|
|
swagger:
|
|
|
|
api_base_path: /api
|
|
|
|
swagger_version: 1.2
|
|
|
|
api_version: 3.14
|
|
|
|
info:
|
|
|
|
title: Nelmio Swagger
|
|
|
|
description: Testing Swagger integration.
|
|
|
|
TermsOfServiceUrl: https://github.com
|
|
|
|
contact: user@domain.tld
|
|
|
|
license: MIT
|
|
|
|
licenseUrl: http://opensource.org/licenses/MIT
|