fix(接口测试): schema根节点备注
This commit is contained in:
parent
2375894ae1
commit
6791bd28cc
|
@ -48,6 +48,7 @@ export function parseTableDataToJsonSchema(
|
||||||
enable: schemaItem.enable,
|
enable: schemaItem.enable,
|
||||||
properties: {},
|
properties: {},
|
||||||
required: [],
|
required: [],
|
||||||
|
description: schemaItem.description,
|
||||||
};
|
};
|
||||||
schemaItem.children.forEach((child) => {
|
schemaItem.children.forEach((child) => {
|
||||||
const childSchema = parseTableDataToJsonSchema(child, false);
|
const childSchema = parseTableDataToJsonSchema(child, false);
|
||||||
|
|
Loading…
Reference in New Issue