mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-03 08:09:25 +03:00
594c2faf26
Implemented JmsMetadataParser
72 lines
2.0 KiB
YAML
72 lines
2.0 KiB
YAML
test_route_1:
|
|
pattern: /tests.{_format}
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:index, _format: json }
|
|
requirements:
|
|
_method: GET
|
|
|
|
test_route_2:
|
|
pattern: /tests.{_format}
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:postTest, _format: json }
|
|
requirements:
|
|
_method: POST
|
|
|
|
test_route_3:
|
|
pattern: /another
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:another }
|
|
|
|
test_route_4:
|
|
pattern: /any/{foo}
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:any, _format: json }
|
|
|
|
test_route_5:
|
|
pattern: /my-commented/{id}/{page}
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:myCommented }
|
|
|
|
test_route_6:
|
|
pattern: /yet-another/{id}
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:yetAnother }
|
|
requirements:
|
|
id: \d+
|
|
|
|
test_route_7:
|
|
pattern: /another-post
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:anotherPost, _format: json }
|
|
requirements:
|
|
_method: POST
|
|
|
|
test_route_8:
|
|
pattern: /z-action-with-query-param
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:zActionWithQueryParam }
|
|
requirements:
|
|
_method: GET
|
|
|
|
test_route_9:
|
|
pattern: /jms-input-test
|
|
defaults: { _controller: NelmioApiDocTestBundle:Test:jmsInputTest }
|
|
requirements:
|
|
_method: POST
|
|
|
|
test_service_route_1:
|
|
pattern: /tests.{_format}
|
|
defaults: { _controller: nemlio.test.controller:indexAction, _format: json }
|
|
requirements:
|
|
_method: GET
|
|
|
|
test_service_route_2:
|
|
pattern: /tests.{_format}
|
|
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 }
|
|
|
|
NelmioApiDocBundle:
|
|
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
|
|
prefix: /
|