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
想提交一个类似http请求的表单,像headers这种map[string]string的object,key和value都是不定的,该如何生成schema呢? 我观察到官方json schema文档里有"additionalProperties": true是可以支持动态增加属性的。
map[string]string
"additionalProperties": true
The text was updated successfully, but these errors were encountered:
同问+1,另外有场景根据用户选填 实时动态增加 json里的属性配置
Sorry, something went wrong.
@snguovo 现在不支持 additionalProperties: true ,目前也不计划支持 。
可以用尝试数组来代替,比如 items: [{key, value}, {key, value}]
@angellala 基于jsonschema的语法可以使用 anyOf
或者通过ui上的显示隐藏,可以使用 ui hidden表达式 等
No branches or pull requests
想提交一个类似http请求的表单,像headers这种
map[string]string
的object,key和value都是不定的,该如何生成schema呢?我观察到官方json schema文档里有
"additionalProperties": true
是可以支持动态增加属性的。The text was updated successfully, but these errors were encountered: