Skip to content

Commit

Permalink
Revert "Replace config root by config mapping"
Browse files Browse the repository at this point in the history
This reverts commit bf0e5e6.
  • Loading branch information
fjtirado committed Aug 20, 2024
1 parent bf0e5e6 commit 05b9815
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
import io.quarkiverse.asyncapi.annotation.scanner.AsyncApiFilter;
import io.quarkus.runtime.annotations.ConfigDocMapKey;
import io.quarkus.runtime.annotations.ConfigItem;
import io.smallrye.config.ConfigMapping;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

@ConfigMapping(prefix = "asyncapi.annotation.scanner")
@ConfigRoot(name = "asyncapi.annotation.scanner", phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED)
public class AsyncApiRuntimeConfig {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
import java.util.Optional;

import io.quarkus.runtime.annotations.ConfigItem;
import io.smallrye.config.ConfigMapping;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

@ConfigMapping(prefix = AsyncApiConfigGroup.CONFIG_PREFIX)
@ConfigRoot(name = AsyncApiConfigGroup.CONFIG_PREFIX, phase = ConfigPhase.BUILD_TIME)
public class AsyncApiConfigGroup {

static final String CONFIG_PREFIX = "asyncapi-generator.codegen";
Expand Down

0 comments on commit 05b9815

Please sign in to comment.