Annotation Type EnableOpenApi
-
@Retention(RUNTIME) @Target(TYPE) @Documented @Import(OpenApiDocumentationConfiguration.class) public @interface EnableOpenApi
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