<?php

namespace n8n\config;

use Exception;
use traits\module_config_variable;

class n8n_api_url_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'n8n',
            'api_url',
            'string',
            false,
            null,
            'The base URL for the n8n public API, including the /api/v1 path.',
            'http://n8n:5678/api/v1',
            false,
            'http://n8n:5678/api/v1'
        );
    }
}
