ParamWithGroup 带分组的参数
1. 结构声明
- TS Declaration
- JSON Schema
class ParamWithGroup extends Param {
title: string;
group: string;
}
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"typeAnnotation": {
"$ref": "#/definitions/TypeAnnotation"
},
"required": {
"type": "boolean"
},
"defaultValue": {
"$ref": "#/definitions/DefaultValue"
},
"title": {
"type": "string"
},
"group": {
"type": "string"
}
},
"required": [
"description",
"group",
"name",
"required",
"title"
],
"additionalProperties": false
}