Max
|
481db5bf8f
|
feat(structure): 完成方案C重构,引入pipeline架构
- 物理迁移:所有核心模块(parse, validate, generate, render, output)已按 pipeline 结构重组。
- 统一入口:创建 lib/index.dart 作为唯一的公共 API 入口。
- 导入路径切换:commands 模块已更新为新的导入风格。
- 文档更新:PROJECT_OVERVIEW.md 已同步更新架构图和模块说明。
质量门禁:
- dart analyze: 0 error / 0 warning (info only)
- dart test: all pass
|
2025-11-22 22:22:51 +08:00 |
Max
|
48863c6255
|
重构与迁移:
1) 配置访问全量迁移
- 移除 ConfigLoader,统一切换为 ConfigRepository(保持 SwaggerConfig 静态 API 向后兼容)
- TemplateRenderer/TemplateLoader/GOS/API 模板数据/命令层全面替换,避免重复 I/O(懒加载缓存)
- 新增迁移文档:docs/MIGRATION_CONFIG_LOADER.md
2) StringUtils 职责拆分与聚合导出
- 新增 utils/string_utils/text_cleaner.dart(文本清理/转义/截断)
- 保留 utils/string_utils.dart 作为统一导出(NamingConverter/TemplateService/TextCleaner)
- 新增 STRING_UTILS_REFACTOR_SUMMARY.md,总结重构内容与使用示例
3) 文档与概览更新
- 更新 docs/PROJECT_OVERVIEW.md:最新架构图、模块职责、生成流程与近期重构
- 更新 check_list.md:标记 string_utils/error_reporter 重构完成
4) 质量与兼容性
- dart analyze:0 error / 0 warning(仅 info 提示)
- dart test:全部通过(203/203)
- 保持命令与生成行为不变(无破坏性改动)
|
2025-11-22 18:18:06 +08:00 |
Max
|
dc4a7cc719
|
feat: fix warring 增加
|
2025-11-22 14:30:32 +08:00 |
Max
|
f2e48277ea
|
feat: update
|
2025-11-21 22:27:01 +08:00 |
Max
|
69aad6bda1
|
chore: release 3.0.0 – remove OptimizedRetrofitGenerator; consolidate on RetrofitApiGenerator; update docs and examples; fix QRCodeApi reference; improve ApiClient class-name extraction; bump version to 3.0.0; update CHANGELOG
|
2025-11-21 18:10:37 +08:00 |
Max
|
e6030aea96
|
feat: update
|
2025-10-11 17:00:37 +08:00 |
Max
|
a12bf7e618
|
feat: 恢复代码
|
2025-07-24 10:44:25 +08:00 |
Max
|
547a6c7f16
|
Revert "feat: 优化项目升级为2.0 严格执行3.0 swagger 标准"
This reverts commit 0fc76544ff.
|
2025-07-24 10:42:22 +08:00 |
Max
|
0fc76544ff
|
feat: 优化项目升级为2.0 严格执行3.0 swagger 标准
|
2025-07-24 10:38:02 +08:00 |