zentao-api / ModuleActionParam
Interface: ModuleActionParam
模块动作的查询参数定义。
Properties
| Property | Type | Description |
|---|---|---|
defaultValue? | unknown | 未显式传入时使用的默认值。 |
description? | string | 参数说明。 |
explode? | boolean | OpenAPI 查询参数是否展开序列化。 |
format? | string | OpenAPI schema format,例如 binary 或 int32。 |
name | string | 参数名称。 |
options? | readonly ModuleActionParamOption[] | 参数可选值。 |
required? | boolean | 是否必填。 |
role? | ModuleActionParamRole | 参数角色。 |
style? | string | OpenAPI 查询参数序列化样式,例如 deepObject。 |
type? | "string" | "number" | "boolean" | "object" | "array" | 参数值类型,用于基础类型转换。 |