feat(annotation): 添加ApiResponse注解的types属性映射功能 - #47
Merged
Merged
Conversation
- 新增types参数用于类名+属性类型映射,无需实例化即可生成代理类 - 实现generateByTypes方法支持通过属性类型映射生成代理类 - 添加ApiResponse构造函数参数验证和类型检查逻辑 - 更新GenerateResponses支持types属性的处理 - 增加GenerateProxyClassTest测试用例验证新功能 - 修改README文档说明types参数使用方法 - 优化ResponseVisitor中的命名空间处理
- 新增 Page 类用于分页数据封装,包含总数和内容属性 - 添加 ApiVariable 注解支持接口文档自动生成 - 创建 SystemRequest trait 定义系统标识参数 - 集成 ApiModelProperty 和验证注解确保参数规范 - 支持数组类型的系统标识参数并配置验证规则
tw2066
force-pushed
the
3.1-apiResponse
branch
from
September 22, 2026 06:25
21ca30b to
f3e4310
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.