public function info()
    {
        // Build the response object.
        $serviceInfo = (object) MicroServiceHelper::getServiceInfo();
        $serviceInfo->endpoints = [];

        // Add the endpoints.
        foreach (app()->getRoutes() as $appRoute) {
            $endpoint = new \stdClass();
            $endpoint->uri = $appRoute['uri'];
            $endpoint->method = $appRoute['method'];

            $serviceInfo->endpoints[] = $endpoint;
        }

        return response()->json($serviceInfo);
    }