swagger配置业务路径

发布时间 2023-03-24 14:12:51作者: 梧桐将秋色

@Bean public Docket bizApiDocket() { return new Docket(DocumentationType.OAS_30) .apiInfo(apiInfo()) .select() // 业务路径 .paths(PathSelectors.regex("^/a/(company|grid|org|party|portal|project|wx|user|common)/.*")) .build() .groupName("100 业务接口"); }