首页>代码>spring boot集成swagger knife4j极简入门实例>/springboot-swagger3/src/main/java/com/simon/springbootswagger3/SpringbootSwagger3Application.java
                
                package com.simon.springbootswagger3;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;
/**
 * @author simon
 */
@Slf4j  //日志
@ComponentScan(value = {"com.simon.springbootswagger3.**"})  //扫描
@EnableSwagger2WebMvc   //文档配置
@SpringBootApplication
public class SpringbootSwagger3Application {
    public static void main(String[] args) {
        SpringApplication.run(SpringbootSwagger3Application.class, args);
    }
}

 最近下载
最近下载 
                 
                 
                 最近浏览
最近浏览 
    