- 根据自定义接口文档生成接口api代码,该代码可以直接用于实际项目中
- 根据自定义接口文档生成接口实现代码和service定义,该代码可以直接用于实际项目中,支持http和dubbo
- 根据自定义接口文档生成基于swagger-ui风格的代码和默认的serviceMock,利用该代码可以部署接口文档服务器和保证接口可用的联调环境接口系统
- 根据自定义接口文档生成基于testng框架的接口测试用例代码,该代码可直接用于研发过程的联调、自动化测试和冒烟测试
- 响应报文结构验证
- 支持自定义断言
- 错误码断言
- 返回指定值断言
- 基于maven插件实现
- 快嘉代码生成Maven插件使用dom4j解析接口文档,用jcodemodel输出代码
rpc相关代码生成需要重新调试 client端代码需要测试下
codemodel切换成大神的jcodemodel :https://github.com/phax/jcodemodel
- 错误码断言
- 响应值中对应标签为指定值,如 {"list[0].versionNo":"v1.4"}、{"nickName":"fastjrun"}等
- 组合条件(and)如{"sex":"1","nickName":"fastjrun"}
- 使用h2数据库代替持久层
- 单元测试用例代码模板化,参数和自定义断言配置化