![JAR search and dependency download from the Maven repository](/logo.png)
com.mangofactory.swagger.plugin.EnableSwagger Maven / Gradle / Ivy
package com.mangofactory.swagger.plugin;
import com.mangofactory.swagger.configuration.SpringSwaggerConfig;
import org.springframework.context.annotation.Import;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Indicates that Swagger support should be enabled.
*
* This should be applied to a Spring java config and should have an accompanying '@Configuration' annotation.
*
* Loads all required beans defined in @see SpringSwaggerConfig
*
* @see com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin
*/
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = {java.lang.annotation.ElementType.TYPE})
@Documented
@Import(SpringSwaggerConfig.class)
public @interface EnableSwagger {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy