|
|
@ -10,7 +10,7 @@ import springfox.documentation.spi.DocumentationType;
|
|
|
|
import springfox.documentation.spring.web.plugins.Docket;
|
|
|
|
import springfox.documentation.spring.web.plugins.Docket;
|
|
|
|
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;
|
|
|
|
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;
|
|
|
|
|
|
|
|
|
|
|
|
@Profile({"dev"})
|
|
|
|
@Profile({"pro", "dev"})
|
|
|
|
@Configuration
|
|
|
|
@Configuration
|
|
|
|
@EnableSwagger2WebMvc
|
|
|
|
@EnableSwagger2WebMvc
|
|
|
|
public class SwaggerConfig {
|
|
|
|
public class SwaggerConfig {
|
|
|
|