Releases: goodluckxu-go/goapi
Releases · goodluckxu-go/goapi
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
- 修改中间件下一个中间件截断后,上一个中间件没有返回值的bug
- 将openapi验证时integer的int8,uint8,int16,uint16的最大最小值修改为系统值
- 修复response.HTTPException方法的httpCode设置后恒等于200的bug
- 修改response.HTTPException方法,删除headers参数
- 修改response.HTMLResponse方法中的Html为string类型,使其变为可使用模板参数
- 修改response.TextResponse方法使header可以覆盖Content-Type类型
- 给openapi的Extensions扩展字段增加验证必须以x-开头
v0.1.0
- 修改由于[]byte和[]uint8类型相等引起的展示类型混乱的bug,使[]byte只支持非json,xml的其他媒体的body类型
- openapi兼容int8,uint8,int16,uint16的integer类型(定义区间);兼容int类型判断系统是否为64位使用format为int32或int64
- 修复httpResponse中类型为string无法获取值的bug;
- 添加textResponse结构
- 修复非json,xml格式识别[]byte为数组的bug
- 增加swagger配置项DocExpansion和DeepLinking的修改
- 处理openapi时将allOf改为ref
- 处理openapi的Schema对象的example改为examples
- 优化代码