public static IConfigurationBuilder AddApiConfiguration(this IConfigurationBuilder configuration, Action <ApiConfigurationOptions> options)
        {
            _ = options ?? throw new ArgumentNullException(nameof(options));
            var apiConfigurationOptions = new ApiConfigurationOptions();

            options(apiConfigurationOptions);
            configuration.Add(new ApiConfigurationSource(apiConfigurationOptions));
            return(configuration);
        }
 public ApiConfigurationSource(ApiConfigurationOptions apiOption)
 {
     ApiOption = apiOption;
 }