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
如下schema,选择第二个option后 编辑无法回填数据
{ "title": "演示:anyOf", "type": "object", "definitions": { "userId": { "title": "通过用户id设置", "type": "object", "properties": { "idCode": { "type": "string", "title": "ID", "default": "10086" } } } }, "oneOf": [ { "title": "无动作", "properties": { "noAction": { "type": "object", "properties": {}, "title": "无" } } }, { "title": "userId", "properties": { "userId": { "$ref": "#/definitions/userId" } } } ] }
--- 来自qq群
The text was updated successfully, but these errors were encountered:
原因由于在 匹配当前option的时候,会构造新的schema去匹配当前option但丢失了 definitions 属性
definitions
最后导致schema 无法正常resolve 到 $ref 数据。
$ref
Sorry, something went wrong.
4dd046b
No branches or pull requests
如下schema,选择第二个option后 编辑无法回填数据
--- 来自qq群
The text was updated successfully, but these errors were encountered: