controllers:
    resource:
        path: ../src/Controller/
        namespace: App\Controller
    type: attribute
    
bar_chart_route:
    path: '/sales/bar-chart/{startDate}/{endDate}/{granularity}'
    controller: 'BarChartController::getChartData'
    methods: ['GET']
    requirements:
        startDate: '\d{4}-\d{2}-\d{2}'
        endDate: '\d{4}-\d{2}-\d{2}'
        granularity: 'day|month|year'
