246 lines
7.6 KiB
YAML
Raw Normal View History

2012-04-13 14:11:54 +02:00
test_route_1:
2015-04-30 15:34:19 +02:00
path: /tests.{_format}
methods: [GET]
2012-04-13 14:11:54 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:index, _format: json }
test_route_2:
2015-04-30 15:34:19 +02:00
path: /tests.{_format}
host: api.test.dev
methods: [POST]
2012-04-13 14:11:54 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:postTest, _format: json }
2012-04-13 14:42:28 +02:00
test_route_3:
2015-04-30 15:34:19 +02:00
path: /another
2012-04-13 14:42:28 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:another }
2012-04-13 15:00:46 +02:00
test_route_4:
2015-04-30 15:34:19 +02:00
path: /any/{foo}
2012-04-13 15:00:46 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:any, _format: json }
test_route_5:
2015-04-30 15:34:19 +02:00
path: /my-commented/{id}/{page}/{paramType}/{param}
defaults: { _controller: NelmioApiDocTestBundle:Test:myCommented }
test_route_6:
2015-04-30 15:34:19 +02:00
path: /yet-another/{id}
defaults: { _controller: NelmioApiDocTestBundle:Test:yetAnother }
requirements:
id: \d+
test_route_7:
2015-04-30 15:34:19 +02:00
path: /another-post
methods: [POST]
defaults: { _controller: NelmioApiDocTestBundle:Test:anotherPost, _format: json }
test_route_8:
2015-04-30 15:34:19 +02:00
path: /z-action-with-query-param
methods: [GET]
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithQueryParam }
test_route_9:
2015-04-30 15:34:19 +02:00
path: /jms-input-test
methods: [POST]
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsInputTest }
2012-08-27 12:56:19 -04:00
test_route_10:
2015-04-30 15:34:19 +02:00
path: /jms-return-test
methods: [GET]
2012-08-27 12:56:19 -04:00
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsReturnTest }
test_route_11:
2015-04-30 15:34:19 +02:00
path: /z-action-with-request-param
methods: [POST]
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithRequestParam }
test_route_12:
2015-04-30 15:34:19 +02:00
path: /secure-route
schemes: [https]
defaults: { _controller: NelmioApiDocTestBundle:Test:secureRoute }
2012-12-26 12:23:28 +01:00
test_route_13:
2015-04-30 15:34:19 +02:00
path: /authenticated
2012-12-26 12:23:28 +01:00
defaults: { _controller: NelmioApiDocTestBundle:Test:authenticated }
test_service_route_1:
2015-04-30 15:34:19 +02:00
path: /tests.{_format}
methods: [GET]
2014-03-27 19:49:59 +00:00
defaults: { _controller: nelmio.test.controller:indexAction, _format: json }
test_service_route_2:
2015-04-30 15:34:19 +02:00
path: /tests.{_format}
host: api.test.dev
methods: [POST]
2014-03-27 19:49:59 +00:00
defaults: { _controller: nelmio.test.controller:postTestAction, _format: json }
test_service_route_3:
2015-04-30 15:34:19 +02:00
path: /another
2014-03-27 19:49:59 +00:00
defaults: { _controller: nelmio.test.controller:anotherAction }
test_service_route_4:
2015-04-30 15:34:19 +02:00
path: /any
2014-03-27 19:49:59 +00:00
defaults: { _controller: nelmio.test.controller:anyAction, _format: json }
2012-04-13 14:11:54 +02:00
NelmioApiDocBundle:
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
2015-04-30 15:34:19 +02:00
prefix: /
2013-03-21 12:15:44 +01:00
test_route_14:
2015-04-30 15:34:19 +02:00
path: /tests2.{_format}
methods: [POST]
2013-03-21 12:15:44 +01:00
defaults: { _controller: NelmioApiDocTestBundle:Test:postTest2, _format: json }
2013-04-30 16:21:12 +04:00
test_route_15:
2015-04-30 15:34:19 +02:00
path: /z-action-with-query-param-strict
methods: [GET]
2013-04-30 16:21:12 +04:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithQueryParamStrict }
test_route_16:
2015-04-30 15:34:19 +02:00
path: /z-action-with-query-param-no-default
methods: [GET]
2013-04-30 16:21:12 +04:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithQueryParamNoDefault }
2013-05-09 23:59:03 -03:00
test_route_17:
2015-04-30 15:34:19 +02:00
path: /z-action-with-deprecated-indicator
methods: [GET]
2013-05-09 23:59:03 -03:00
defaults: { _controller: NelmioApiDocTestBundle:Test:deprecated }
test_return_nested_output:
2015-04-30 15:34:19 +02:00
path: /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:
2015-04-30 15:34:19 +02:00
path: /return-nested-extend-output
2013-12-11 01:59:59 +01:00
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsReturnNestedExtendOutput, _format: json }
2013-11-07 13:30:13 +01:00
test_route_18:
2015-04-30 15:34:19 +02:00
path: /z-return-jms-and-validator-output
2013-11-07 13:30:13 +01:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zReturnJmsAndValidationOutput }
2013-10-11 16:18:02 +02:00
test_route_named_resource:
2015-04-30 15:34:19 +02:00
path: /named-resource
2013-10-11 16:18:02 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:namedResource }
2013-12-05 00:05:47 +01:00
test_route_19:
2015-04-30 15:34:19 +02:00
path: /z-return-selected-parsers-output
2013-12-05 00:05:47 +01:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zReturnSelectedParsersOutput }
test_route_20:
2015-04-30 15:34:19 +02:00
path: /z-return-selected-parsers-input
2013-12-05 00:05:47 +01:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zReturnSelectedParsersInput }
test_route_private:
2015-04-30 15:34:19 +02:00
path: /private
defaults: { _controller: NelmioApiDocTestBundle:Test:private }
test_route_exclusive:
2015-04-30 15:34:19 +02:00
path: /exclusive
2014-05-16 11:33:58 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:exclusive }
2014-04-17 14:06:41 +02:00
test_route_21:
2015-04-30 15:34:19 +02:00
path: /z-action-with-constraint-requirements
methods: [GET]
2014-04-17 14:06:41 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithConstraintAsRequirements }
test_route_22:
2015-04-30 15:34:19 +02:00
path: /z-action-with-nullable-request-param
methods: [POST]
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithNullableRequestParam }
test_route_list_resource:
2015-04-30 15:34:19 +02:00
path: /api/resources.{_format}
methods: [GET]
defaults: { _controller: NelmioApiDocTestBundle:Resource:listResources, _format: json }
requirements:
_format: json|xml|html
test_route_get_resource:
2015-04-30 15:34:19 +02:00
path: /api/resources/{id}.{_format}
methods: [GET]
defaults: { _controller: NelmioApiDocTestBundle:Resource:getResource, _format: json }
requirements:
_format: json|xml|html
test_route_delete_resource:
2015-04-30 15:34:19 +02:00
path: /api/resources/{id}.{_format}
methods: [DELETE]
defaults: { _controller: NelmioApiDocTestBundle:Resource:deleteResource, _format: json }
requirements:
_format: json|xml|html
test_route_create_resource:
2015-04-30 15:34:19 +02:00
path: /api/resources.{_format}
methods: [POST]
defaults: { _controller: NelmioApiDocTestBundle:Resource:createResource, _format: json }
requirements:
_format: json|xml|html
test_route_list_another_resource:
2015-04-30 15:34:19 +02:00
path: /api/other-resources.{_format}
methods: [GET]
defaults: { _controller: NelmioApiDocTestBundle:Resource:listAnotherResources, _format: json }
requirements:
_format: json|xml|html
test_route_update_another_resource:
2015-04-30 15:34:19 +02:00
path: /api/other-resources/{id}.{_format}
methods: [PUT, PATCH]
defaults: { _controller: NelmioApiDocTestBundle:Resource:updateAnotherResource, _format: json }
requirements:
_format: json|xml|html
swagger_doc:
2015-11-30 19:19:17 +01:00
resource: "@NelmioApiDocBundle/Resources/config/swagger_routing.yml"
2014-08-28 00:12:34 +02:00
prefix: /api-docs
test_route_23:
2015-04-30 15:34:19 +02:00
path: /zcached
methods: [POST]
2014-08-28 00:12:34 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zCached }
test_route_24:
2015-04-30 15:34:19 +02:00
path: /zsecured
methods: [POST]
2014-08-28 00:12:34 +02:00
defaults: { _controller: NelmioApiDocTestBundle:Test:zSecured }
test_required_parameters:
2015-04-30 15:34:19 +02:00
path: /api/other-resources/{id}.{_format}
methods: [POST]
defaults: { _controller: NelmioApiDocTestBundle:Resource:requiredParametersAction, _format: json }
requirements:
_format: json|xml|html
test_put_disables_required_parameters:
2015-04-30 15:34:19 +02:00
path: /api/other-resources/{id}.{_format}
methods: [PUT]
defaults: { _controller: NelmioApiDocTestBundle:Resource:requiredParametersAction, _format: json }
requirements:
_format: json|xml|html
test_route_25:
2015-04-30 15:34:19 +02:00
path: /with-link
methods: [GET]
defaults: { _controller: NelmioApiDocTestBundle:Test:withLinkAction }
test_route_26:
2015-04-30 15:34:19 +02:00
path: /z-action-with-array-request-param
methods: [POST]
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithArrayRequestParamAction }
test_route_27:
path: /api/overrride/properties
methods: [POST, PUT]
2015-11-10 01:51:26 +01:00
defaults: { _controller: NelmioApiDocTestBundle:Test:overrideJmsAnnotationWithApiDocPropertiesAction, _format: json }
test_route_28:
path: /route_with_host.{_format}
host: api.{domain}
methods: [GET]
requirements:
domain: "%domain_dev%|%domain_prod%"
defaults: { _controller: NelmioApiDocTestBundle:Test:routeWithHost, domain: "%domain_dev%", _format: json }
test_route_29:
path: /z-query-param-array-requirements
methods: [GET]
defaults: { _controller: NelmioApiDocTestBundle:Test:routeWithQueryParamArrayRequirementsAction }