Class SpringfoxWebConfiguration
- java.lang.Object
-
- springfox.documentation.spring.web.SpringfoxWebConfiguration
-
@Configuration @Import(ModelsConfiguration.class) @ComponentScan(basePackages={"springfox.documentation.spring.web.scanners","springfox.documentation.spring.web.readers.operation","springfox.documentation.spring.web.readers.parameter","springfox.documentation.spring.web.plugins","springfox.documentation.spring.web.paths"}) @EnablePluginRegistries({DocumentationPlugin.class,ApiListingBuilderPlugin.class,OperationBuilderPlugin.class,ParameterBuilderPlugin.class,ResponseBuilderPlugin.class,ExpandedParameterBuilderPlugin.class,OperationModelsProviderPlugin.class,DefaultsProviderPlugin.class,PathDecorator.class,ApiListingScannerPlugin.class,ModelNamesRegistryFactoryPlugin.class}) public class SpringfoxWebConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SpringfoxWebConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Defaults
defaults()
DescriptionResolver
descriptionResolver(org.springframework.core.env.Environment environment)
JsonSerializer
jsonSerializer(java.util.List<JacksonModuleRegistrar> moduleRegistrars)
HandlerMethodResolver
methodResolver(com.fasterxml.classmate.TypeResolver resolver)
PathProvider
pathProvider()
DocumentationCache
resourceGroupCache()
-
-
-
Method Detail
-
defaults
@Bean public Defaults defaults()
-
resourceGroupCache
@Bean public DocumentationCache resourceGroupCache()
-
jsonSerializer
@Bean public JsonSerializer jsonSerializer(java.util.List<JacksonModuleRegistrar> moduleRegistrars)
-
descriptionResolver
@Bean public DescriptionResolver descriptionResolver(org.springframework.core.env.Environment environment)
-
methodResolver
@Bean public HandlerMethodResolver methodResolver(com.fasterxml.classmate.TypeResolver resolver)
-
pathProvider
@Bean public PathProvider pathProvider()
-
-