<?php

declare(strict_types=1);

use App\Core\Router;

return static function (Router $router): void {
    $router->group('/api', static function (Router $router): void {
        $router->get('/health', 'ApiController@health');
        $router->get('/me', 'ApiController@me', ['auth']);
        $router->get('/metrics', 'ApiController@metrics', ['auth', 'tenant']);
    });
};
