mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-03 16:19:26 +03:00
40 lines
823 B
YAML
40 lines
823 B
YAML
# 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
|
|
|
|
|
|
# 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 |