Skip to content

anyOf、oneOf可视化支持吗 #90

@Ucdit

Description

@Ucdit

{
"$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"
}
}

这样的好像没法可视化

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions