Skip to content

Commit

Permalink
Apply TrimmedStringConverter on proxyAddress configuration property
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan.baricic committed Nov 27, 2024
1 parent e77760f commit b6ef7c4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.quarkus.runtime.configuration.MemorySize;
import io.quarkus.runtime.configuration.TrimmedStringConverter;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.ConfigValue;
import io.smallrye.config.SmallRyeConfig;
import io.smallrye.config.WithConverter;
import io.smallrye.config.WithDefault;
import io.smallrye.config.WithDefaults;
import io.smallrye.config.WithKeys;
Expand Down Expand Up @@ -58,6 +60,7 @@ public interface RestClientsConfig {
* <p>
* Can be overwritten by client-specific settings.
*/
@WithConverter(TrimmedStringConverter.class)
Optional<String> proxyAddress();

/**
Expand Down

0 comments on commit b6ef7c4

Please sign in to comment.