@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
@Import(value=Swagger2DocumentationConfiguration.class)
public @interface EnableSwagger2
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 Also:
Docket