pro
wj 2 years ago
parent 4f9a9e2126
commit fd5aca89d9

@ -1,6 +1,7 @@
package com.glxp.api.config;
import com.glxp.api.common.enums.ResultEnum;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
@ -16,7 +17,6 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;
@EnableSwagger2WebMvc
public class Knife4jConfiguration {
@Bean(value = "defaultApi2")
public Docket defaultApi2() {
Docket docket = new Docket(DocumentationType.SWAGGER_2)

Loading…
Cancel
Save