Annotation Type EnableSwagger2WebMvc


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    @Import(Swagger2DocumentationConfiguration.class)
    @Deprecated
    public @interface EnableSwagger2WebMvc
    Deprecated.
    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

    Since:
    3.0.0
    See Also:
    Use instead