Commit fbc86c49 authored by liqin's avatar liqin 💬

bug fixed

parent f501e27b
......@@ -25,11 +25,11 @@ import static com.google.common.collect.Lists.newArrayList;
public class SwaggerConfig {
@Bean
public Docket petApi() {
public Docket createRestApi() {
return new Docket(DocumentationType.SWAGGER_2)
.pathMapping("/")
.select()
.apis(RequestHandlerSelectors.basePackage("cn.wisenergy.datastation.web.api"))
.apis(RequestHandlerSelectors.basePackage("cn.wisenergy.chnmuseum.party.web.controller"))
.paths(PathSelectors.any())
.build()
//.securitySchemes(newArrayList(apiKey()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment