Annotation Interface DynamicParameter
已过时。
Note: 自Knife4j 4.0版本起,放弃维护此属性值,建议开发者建实体类
-
可选元素概要
可选元素修饰符和类型可选元素说明Class<?>已过时。The class of the parameter.已过时。a single example for non-body type parameters已过时。Name of the parameter.boolean已过时。Specifies if the parameter is required or not.已过时。A brief description of the parameter.
-
元素详细资料
-
name
String name已过时。Name of the parameter.- 返回:
- 属性名称
- 默认值:
- ""
-
value
String value已过时。A brief description of the parameter.- 返回:
- 属性说明
- 默认值:
- ""
-
required
boolean required已过时。Specifies if the parameter is required or not.Path parameters should always be set as required.
- 返回:
- 是否必传
- 默认值:
- false
-
dataTypeClass
Class<?> dataTypeClass已过时。The class of the parameter.Overrides
dataTypeif provided.- 返回:
- 属性类型
- 默认值:
- java.lang.Void.class
-
example
String example已过时。a single example for non-body type parameters- 返回:
- 属性示例
- 从以下版本开始:
- 1.5.4
- 默认值:
- ""
-