2012-04-13 14:11:54 +02:00
|
|
|
test_route_1:
|
2012-08-10 11:38:01 +02:00
|
|
|
pattern: /tests.{_format}
|
2012-04-13 14:11:54 +02:00
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:index, _format: json }
|
|
|
|
requirements:
|
|
|
|
_method: GET
|
|
|
|
|
|
|
|
test_route_2:
|
2012-08-10 11:38:01 +02:00
|
|
|
pattern: /tests.{_format}
|
2013-04-11 22:03:40 +02:00
|
|
|
host: api.test.dev
|
2012-04-13 14:11:54 +02:00
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:postTest, _format: json }
|
|
|
|
requirements:
|
|
|
|
_method: POST
|
|
|
|
|
2012-04-13 14:42:28 +02:00
|
|
|
test_route_3:
|
|
|
|
pattern: /another
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:another }
|
|
|
|
|
2012-04-13 15:00:46 +02:00
|
|
|
test_route_4:
|
2012-04-19 20:27:27 +02:00
|
|
|
pattern: /any/{foo}
|
2012-04-13 15:00:46 +02:00
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:any, _format: json }
|
|
|
|
|
2012-04-19 16:23:26 +02:00
|
|
|
test_route_5:
|
2013-05-03 14:37:52 +01:00
|
|
|
pattern: /my-commented/{id}/{page}/{paramType}/{param}
|
2012-04-19 16:23:26 +02:00
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:myCommented }
|
|
|
|
|
2012-04-19 20:27:27 +02:00
|
|
|
test_route_6:
|
|
|
|
pattern: /yet-another/{id}
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:yetAnother }
|
|
|
|
requirements:
|
|
|
|
id: \d+
|
|
|
|
|
2012-06-21 00:12:21 +02:00
|
|
|
test_route_7:
|
|
|
|
pattern: /another-post
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:anotherPost, _format: json }
|
|
|
|
requirements:
|
|
|
|
_method: POST
|
|
|
|
|
2012-07-20 00:58:58 +02:00
|
|
|
test_route_8:
|
|
|
|
pattern: /z-action-with-query-param
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithQueryParam }
|
|
|
|
requirements:
|
|
|
|
_method: GET
|
|
|
|
|
2012-08-07 17:50:58 -04:00
|
|
|
test_route_9:
|
|
|
|
pattern: /jms-input-test
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsInputTest }
|
|
|
|
requirements:
|
|
|
|
_method: POST
|
|
|
|
|
2012-08-27 12:56:19 -04:00
|
|
|
test_route_10:
|
|
|
|
pattern: /jms-return-test
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsReturnTest }
|
|
|
|
requirements:
|
|
|
|
_method: GET
|
|
|
|
|
2012-11-14 23:59:06 +01:00
|
|
|
test_route_11:
|
|
|
|
pattern: /z-action-with-request-param
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithRequestParam }
|
|
|
|
requirements:
|
|
|
|
_method: POST
|
|
|
|
|
2012-12-10 10:21:04 -08:00
|
|
|
test_route_12:
|
|
|
|
pattern: /secure-route
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:secureRoute }
|
|
|
|
requirements:
|
|
|
|
_scheme: https
|
|
|
|
|
2012-12-26 12:23:28 +01:00
|
|
|
test_route_13:
|
|
|
|
pattern: /authenticated
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:authenticated }
|
|
|
|
|
2012-04-14 10:11:52 +02:00
|
|
|
test_service_route_1:
|
2012-08-10 11:38:01 +02:00
|
|
|
pattern: /tests.{_format}
|
2012-04-14 10:11:52 +02:00
|
|
|
defaults: { _controller: nemlio.test.controller:indexAction, _format: json }
|
|
|
|
requirements:
|
|
|
|
_method: GET
|
|
|
|
|
|
|
|
test_service_route_2:
|
2012-08-10 11:38:01 +02:00
|
|
|
pattern: /tests.{_format}
|
2013-04-11 22:03:40 +02:00
|
|
|
host: api.test.dev
|
2012-04-14 10:11:52 +02:00
|
|
|
defaults: { _controller: nemlio.test.controller:postTestAction, _format: json }
|
|
|
|
requirements:
|
|
|
|
_method: POST
|
|
|
|
|
|
|
|
test_service_route_3:
|
|
|
|
pattern: /another
|
|
|
|
defaults: { _controller: nemlio.test.controller:anotherAction }
|
|
|
|
|
|
|
|
test_service_route_4:
|
|
|
|
pattern: /any
|
|
|
|
defaults: { _controller: nemlio.test.controller:anyAction, _format: json }
|
|
|
|
|
2012-04-13 14:11:54 +02:00
|
|
|
NelmioApiDocBundle:
|
|
|
|
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
|
|
|
|
prefix: /
|
2013-03-21 12:15:44 +01:00
|
|
|
|
|
|
|
test_route_14:
|
|
|
|
pattern: /tests2.{_format}
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:postTest2, _format: json }
|
|
|
|
requirements:
|
|
|
|
_method: POST
|
2013-04-30 16:21:12 +04:00
|
|
|
|
|
|
|
test_route_15:
|
|
|
|
pattern: /z-action-with-query-param-strict
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithQueryParamStrict }
|
|
|
|
requirements:
|
|
|
|
_method: GET
|
|
|
|
|
|
|
|
test_route_16:
|
|
|
|
pattern: /z-action-with-query-param-no-default
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithQueryParamNoDefault }
|
|
|
|
requirements:
|
|
|
|
_method: GET
|
2013-05-09 23:59:03 -03:00
|
|
|
|
|
|
|
test_route_17:
|
|
|
|
pattern: /z-action-with-deprecated-indicator
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:deprecated }
|
|
|
|
requirements:
|
|
|
|
_method: GET
|
2013-04-24 22:28:46 +02:00
|
|
|
|
|
|
|
test_return_nested_output:
|
|
|
|
pattern: /return-nested-output
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsReturnNestedOutput, _format: json }
|
2013-10-11 16:18:02 +02:00
|
|
|
|
2013-12-11 01:59:59 +01:00
|
|
|
test_return_nested_extend_output:
|
|
|
|
pattern: /return-nested-extend-output
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsReturnNestedExtendOutput, _format: json }
|
|
|
|
|
2013-11-07 13:30:13 +01:00
|
|
|
test_route_18:
|
|
|
|
pattern: /z-return-jms-and-validator-output
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zReturnJmsAndValidationOutput }
|
|
|
|
|
2013-10-11 16:18:02 +02:00
|
|
|
test_route_named_resource:
|
|
|
|
pattern: /named-resource
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:namedResource }
|
2013-12-05 00:05:47 +01:00
|
|
|
|
|
|
|
test_route_19:
|
|
|
|
pattern: /z-return-selected-parsers-output
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zReturnSelectedParsersOutput }
|
|
|
|
|
|
|
|
test_route_20:
|
|
|
|
pattern: /z-return-selected-parsers-input
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zReturnSelectedParsersInput }
|
2014-01-16 13:42:37 +01:00
|
|
|
|
|
|
|
test_route_private:
|
|
|
|
pattern: /private
|
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:private }
|
|
|
|
|
|
|
|
test_route_exclusive:
|
|
|
|
pattern: /exclusive
|
2014-05-16 11:33:58 +02:00
|
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:exclusive }
|