czydojade/api/config/routes.yaml
2020-11-01 17:57:06 +01:00

10 lines
218 B
YAML

api_v1:
resource: ../src/Controller/Api/v1
type: annotation
prefix: /{provider}/api/v1
api_v1_providers:
path: /api/v1/providers
defaults:
_controller: '\App\Controller\Api\v1\ProviderController::index'