chore(deps): Swagger springfox → Springdoc OpenAPI 1.8.0

迁移内容:
- 移除 springfox-boot-starter:3.0.0 (已停维, 与 Spring Boot 2.7 不兼容)
- 新增 springdoc-openapi-ui:1.8.0 (OpenAPI 3.0, 兼容 Spring Boot 2.7)
- 重写 SwaggerConfig.java → 使用 OpenAPI bean + SecurityScheme
- 移除 ResourcesConfig 中 springfox-swagger-ui 资源映射
- 移除 ISchedulePoolService 中未使用的 io.swagger.models.auth.In import
- application.yml: springfox 配置 → springdoc 配置

验证结果:
-  Swagger UI 页面 HTTP 200
-  OpenAPI JSON 正常 (1373 个 API)
-  登录/分页/路由接口正常
-  71 个 @ApiOperation 注解兼容无需修改
This commit is contained in:
2026-06-04 13:59:46 +08:00
parent dbe146725a
commit e84455da51
6 changed files with 42 additions and 118 deletions

View File

@@ -2,7 +2,6 @@ package com.openhis.appointmentmanage.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.openhis.appointmentmanage.domain.SchedulePool;
import io.swagger.models.auth.In;
public interface ISchedulePoolService extends IService<SchedulePool> {
/**