Class ConfigurationDefaultVersionProvider

java.lang.Object
io.micronaut.web.router.version.ConfigurationDefaultVersionProvider
All Implemented Interfaces:
DefaultVersionProvider

@Requires(beans=RoutesVersioningConfiguration.class) @Requires(property="micronaut.router.versioning.default-version") @Singleton public class ConfigurationDefaultVersionProvider extends Object implements DefaultVersionProvider
Implementation of DefaultVersionProvider which uses configuration. If value micronaut.router.versioning.default-version is present, this bean is loaded and returns that value.
Since:
1.1.0
Author:
Sergio del Amo