package io.quarkus.agroal.runtime;

import java.util.Map;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

@ConfigRoot(name = "datasource", phase = ConfigPhase.RUN_TIME)
public class AgroalRuntimeConfig {

    /**
     * The default datasource.
     */
    @ConfigItem(name = ConfigItem.PARENT)
    public DataSourceRuntimeConfig defaultDataSource;

    /**
     * Additional datasources.
     */
    @ConfigItem(name = ConfigItem.PARENT)
    public Map<String, DataSourceRuntimeConfig> namedDataSources;
}

@@ -52,16 +52,127 @@
 l.Map;%0A%0A
+import io.quarkus.runtime.annotations.ConfigDocMapKey;%0Aimport io.quarkus.runtime.annotations.ConfigDocSection;%0A
 import i
@@ -584,16 +584,22 @@
 itional 
+named 
 datasour
@@ -645,32 +645,94 @@
 figItem.PARENT)%0A
+    @ConfigDocMapKey(%22datasource-name%22)%0A    @ConfigDocSection%0A
     public Map%3CS

Tweak Agroal configuration reference documentation