模式(Schema)

annotation class Schema(val name: String = "", val description: String = "", val optional: Boolean = false)

The annotation for binding the 'Schema' input.

属性(Properties)

Link copied to clipboard

为模式输入提供人类可读的描述;默认值为空字符串。

Link copied to clipboard

为模式输入指定一个自定义名称;默认值为空字符串。

Link copied to clipboard
val optional: Boolean = false

该属性用于指示模式输入是否为可选内容;默认值为 `false`(即模式输入是必需的)。