{
"type": "string",
"enum": ["red", "amber", "green"]
}
{
"title" : "Match anything",
"description" : "This is a schema that matches anything.",
"default" : "Default value",
"examples" : [
"Anything",
4035
]
}
```
只作为描述作用,不影响对数据的校验。
{
"type": "string",
"enum": ["red", "amber", "green"]
}
{
"title" : "Match anything",
"description" : "This is a schema that matches anything.",
"default" : "Default value",
"examples" : [
"Anything",
4035
]
}
```
只作为描述作用,不影响对数据的校验。
内容版权声明:除非注明,否则皆为本站原创文章。