2021-11-30 15:12:38 +01:00
|
|
|
# Resources
|
|
|
|
test:
|
|
|
|
resource: ../Controller/TestController.php
|
|
|
|
type: annotation
|
|
|
|
|
|
|
|
api:
|
|
|
|
resource: ../Controller/ApiController.php
|
|
|
|
type: annotation
|
|
|
|
|
|
|
|
class_api:
|
|
|
|
resource: ../Controller/ClassApiController.php
|
|
|
|
type: annotation
|
|
|
|
|
|
|
|
undocumented:
|
|
|
|
resource: ../Controller/UndocumentedController.php
|
|
|
|
type: annotation
|
|
|
|
|
|
|
|
invokable:
|
|
|
|
resource: ../Controller/InvokableController.php
|
|
|
|
type: annotation
|
|
|
|
|
|
|
|
fos_rest:
|
|
|
|
resource: ../Controller/FOSRestController.php
|
|
|
|
type: annotation
|
|
|
|
|
|
|
|
|
2021-12-21 13:52:16 +01:00
|
|
|
api_platform:
|
|
|
|
resource: .
|
|
|
|
prefix: /api
|
|
|
|
type: api_platform
|
|
|
|
|
2021-11-30 15:12:38 +01:00
|
|
|
# Controllers
|
|
|
|
doc_area:
|
|
|
|
path: /docs/{area}
|
|
|
|
controller: nelmio_api_doc.controller.swagger_ui
|
|
|
|
defaults:
|
|
|
|
area: default
|
|
|
|
|
|
|
|
doc_json:
|
|
|
|
path: /docs.json
|
|
|
|
controller: nelmio_api_doc.controller.swagger_json
|
|
|
|
|
|
|
|
doc_yaml:
|
|
|
|
path: /docs.yaml
|
|
|
|
controller: nelmio_api_doc.controller.swagger_yaml
|