Annotation EnableSlug
-
- All Implemented Interfaces:
@Target(allowedTargets = {AnnotationTarget.CLASS})@Import(value = {SlugAutoConfiguration.class}) public @interface EnableSlug
{@code @EnableSlug} is a configuration annotation that enables automatic slug generation in a Spring Boot application.
<p>This annotation imports {@link SlugAutoConfiguration} into the Spring application context and optionally allows specifying a custom {@link ISlugGenerator} implementation.</p><p>By default, {@link ISlugGenerator} is used as a placeholder. To provide custom slug generation logic, supply your own implementation of the {@code ISlugGenerator} interface.</p><p><strong>Example usage:</strong></p> <pre>{@code
-
-
Field Summary
Fields Modifier and Type Field Description private final KClass<out ISlugGenerator>generator
-