Class 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, springfox.documentation.spring.web.DocumentationCache documentationCache, springfox.documentation.spring.web.plugins.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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InMemorySwaggerResourcesProvider

        @Autowired
        public InMemorySwaggerResourcesProvider​(org.springframework.core.env.Environment environment,
                                                springfox.documentation.spring.web.DocumentationCache documentationCache,
                                                springfox.documentation.spring.web.plugins.DocumentationPluginsManager pluginsManager)
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException