[[ImportedInterface]] 由JSON生成接口
1. 结构声明
- TS Declaration
- JSON Schema
abstract class ImportedInterface extends AbstractInterface {
exampleMap: Map<'responseBody' | 'requestBody', string>;
}
{
"type": "object",
"properties": {
"exampleMap": {
"type": "object",
"properties": {
"size": {
"type": "number"
}
},
"required": [
"size"
],
"additionalProperties": false
}
},
"required": [
"exampleMap"
],
"additionalProperties": false
}