类 Swagger2Config


  • @ConditionalOnProperty(name="app.swagger.enable",
                           havingValue="true",
                           matchIfMissing=true)
    @Configuration
    @EnableSwagger2
    public class Swagger2Config
    extends java.lang.Object
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      springfox.documentation.spring.web.plugins.Docket api()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • Swagger2Config

        public Swagger2Config()
    • 方法详细资料

      • api

        public springfox.documentation.spring.web.plugins.Docket api()