Class InMemorySwaggerResourcesProvider
- java.lang.Object
-
- springfox.documentation.swagger.web.InMemorySwaggerResourcesProvider
-
- All Implemented Interfaces:
java.util.function.Supplier<java.util.List<SwaggerResource>>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,SwaggerResourcesProvider
@Component public class InMemorySwaggerResourcesProvider extends java.lang.Object implements SwaggerResourcesProvider, org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description InMemorySwaggerResourcesProvider(org.springframework.core.env.Environment environment, DocumentationCache documentationCache, DocumentationPluginsManager pluginsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SwaggerResource>
get()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Constructor Detail
-
InMemorySwaggerResourcesProvider
@Autowired public InMemorySwaggerResourcesProvider(org.springframework.core.env.Environment environment, DocumentationCache documentationCache, DocumentationPluginsManager pluginsManager)
-
-
Method Detail
-
get
public java.util.List<SwaggerResource> get()
- Specified by:
get
in interfacejava.util.function.Supplier<java.util.List<SwaggerResource>>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-