We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dataType=String remark=@mock=
时,空字符串被自动转换为默认值1,非用户所预期。
用户预期结果: "val" : ""
The text was updated successfully, but these errors were encountered:
已修复。并对各种数据类型下不写mock标签时做了特殊处理。 boolean => 随机true/false string => "测试内容[0-9a-z]{4}" // 正则随机 number => 5位随机数 array => 固定[true, false] array => [] object => {}
Sorry, something went wrong.
fix issue #13
2eaa728
No branches or pull requests
dataType=String
remark=@mock=
时,空字符串被自动转换为默认值1,非用户所预期。
用户预期结果:
"val" : ""
The text was updated successfully, but these errors were encountered: