Skip to content

Commit 0378ad0

Browse files
committed
🐛 修复 swagger 配置缺失 base-package 问题
1 parent 863124c commit 0378ad0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-demo-swagger-beauty/src/main/resources/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ spring:
66
swagger:
77
enabled: true
88
title: spring-boot-demo
9+
base-package: com.xkcoding.swagger.beauty.controller
910
description: 这是一个简单的 Swagger API 演示
1011
version: 1.0.0-SNAPSHOT
1112
contact:

0 commit comments

Comments
 (0)