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:
@@ -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> {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user