diff --git a/src/main/java/com/example/easy/retry/config/SwaggerConfig.java b/src/main/java/com/example/easy/retry/config/SwaggerConfig.java index 128c8c2..025509a 100644 --- a/src/main/java/com/example/easy/retry/config/SwaggerConfig.java +++ b/src/main/java/com/example/easy/retry/config/SwaggerConfig.java @@ -22,25 +22,27 @@ public class SwaggerConfig { @Bean public Docket api() { return new Docket(DocumentationType.SWAGGER_2) - .select() - .apis(RequestHandlerSelectors.basePackage("com.example.easy.retry.controller")) // 替换为你的项目包名 - .paths(PathSelectors.any()) - .build() - .apiInfo(apiInfo()); + .select() + .apis(RequestHandlerSelectors.basePackage("com.example.easy.retry.controller")) // 替换为你的项目包名 + .paths(PathSelectors.any()) + .build() + .apiInfo(apiInfo()); } private ApiInfo apiInfo() { return new ApiInfoBuilder() - .title("Easy Retry Example") - .description( - "

EasyRetry是基于BASE思想实现的分布式服务重试组件

\n" + - "

官网地址: https://www.easyretry.com/

" + - "

在线体验地址: http://preview.easyretry.com/

"+ - "

源码地址: https://gitee.com/byteblogs168/easy-retry-demo

" + - "

特别提醒: 🌻在您使用测试案例之前请认真的阅读官网.

" - ) - .version(EasyRetryVersion.getVersion()) - .build(); + .title("Easy Retry Example") + .description( + "

EasyRetry是致力提高分布式业务系统一致性的分布式重试平台

\n" + + "

官网地址: https://www.easyretry.com/

" + + "

在线体验地址: http://preview.easyretry.com/

" + + "

源码地址: https://gitee.com/byteblogs168/easy-retry-demo

" + + "

视频教程: 🌻https://www.ixigua.com/pseries/7272009348824433213/.

" + + "

特别提醒: 🌻在您使用测试案例之前请认真的阅读官网.

" + + ) + .version(EasyRetryVersion.getVersion()) + .build(); } }