增加示例值解析 + 优化schema属性配置
This commit is contained in:
@ -29,6 +29,8 @@ const (
|
||||
TagUriTag = "tag" // 接口的tag
|
||||
TagOutputStrict = "output_strict" // 接口数据是否为严格模式 : 严格模式, 响应数据必须是结构体/map,非严格模式返回任意值
|
||||
TagErrMsg = "err" // 验证失败错误信息tag
|
||||
TagExample = "example" // 示例值
|
||||
TagEg = "eg" // 示例值
|
||||
TagContentType = "content_type"
|
||||
TagOutputContentType = "output_content_type"
|
||||
TagNameOmitempty = "omitempty"
|
||||
|
Reference in New Issue
Block a user