Skip to content
New issue

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

anyOf、oneOf可视化支持吗 #90

Open
Ucdit opened this issue May 15, 2024 · 0 comments
Open

anyOf、oneOf可视化支持吗 #90

Ucdit opened this issue May 15, 2024 · 0 comments

Comments

@Ucdit
Copy link

Ucdit commented May 15, 2024

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "integer"
}
},
"required": [
"name",
"id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "integer"
},
"age": {
"type": "integer"
}
},
"required": [
"key",
"age"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"card": {
"type": "string"
}
},
"required": [
"card"
],
"additionalProperties": false
}
],
"type": "string"
}
}

这样的好像没法可视化

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant