diff --git a/application.properties b/application.properties new file mode 100644 index 0000000..19e242d --- /dev/null +++ b/application.properties @@ -0,0 +1,13 @@ +spring.application.name=web + +# 文档基本信息 +springdoc.info.title=用户管理 API +springdoc.info.version=1.0.0 +springdoc.info.description=基于 Spring Boot 3.x 的 RESTful 接口文档 + +# 自定义 Swagger UI 路径 +springdoc.swagger-ui.path=/swagger-ui +springdoc.api-docs.path=/api-docs + +# 指定扫描的包 +springdoc.packagesToScan=com.example.web \ No newline at end of file