diff --git a/guide/custom-node.md b/guide/custom-node.md index 4a6b62f9618516afce28261707b6178a232738fd..1077385881fba4907ed4a9c076cd06426c6692b6 100644 --- a/guide/custom-node.md +++ b/guide/custom-node.md @@ -43,6 +43,7 @@ | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ref | 归属人或归属组织的唯一标识/节点定义在归属内的唯一标识,必填,如:jianmu/hub_publish。若为官方节点定义,则可省略归属人或归属组织的唯一标识,如:hub_publish | | version | 节点定义的版本,必填 | +| description | 节点定义的版本描述,非必填 | | resultFile | 输出参数转换成 json 的文件路径,若定义了输出参数 outputParameters,则必填 | | inputParameters | 输入参数列表 | | inputParameters.ref | 参数唯一标识,会在容器内转译成'JIANMU\_'开头并大写的环境变量。如:hub_url 在容器内可通过 JIANMU_HUB_URL 环境变量调用,必填 | @@ -62,6 +63,7 @@ ``` ref: redis_export version: 1.0.1 +description: 该版本添加了输入输出参数的必填校验 inputParameters: - name: 主机地址 ref: host diff --git a/guide/images/create_node_definition_version.png b/guide/images/create_node_definition_version.png index fad47f1da145448d75ce90d22f52c1850b300025..f03565ab06442ec6295a1493052f50770276aa41 100644 Binary files a/guide/images/create_node_definition_version.png and b/guide/images/create_node_definition_version.png differ