-  **强制添加前缀**:修复了当类名已包含前缀时不重复添加前缀的逻辑,确保 `SubjectInfo` 配置前缀 `S` 后生成 `SSubjectInfo`。
-  **测试接口暴露**:为 `ConfigRepository` 添加 `setCachedConfig` 接口以便于测试。
This commit is contained in:
Max 2026-01-12 15:52:05 +08:00
parent 9fa88e9821
commit 07b9a8c2f5
2 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file.
## [3.2.1] - 2026-01-12
### 🐛 修复
#### 模型类名前缀逻辑修复
- ✅ **强制添加前缀**:修复了当类名已包含前缀时不重复添加前缀的逻辑,确保 `SubjectInfo` 配置前缀 `S` 后生成 `SSubjectInfo`
- ✅ **测试接口暴露**:为 `ConfigRepository` 添加 `setCachedConfig` 接口以便于测试。
## [3.2.0] - 2026-01-12
### 🎉 新特性

View File

@ -1,7 +1,7 @@
name: swagger_generator_flutter
description: A powerful Swagger/OpenAPI code generator for Flutter projects with Dio + Retrofit support
version: 3.2.0
version: 3.2.1
environment:
sdk: '>=3.0.0 <4.0.0'