类 AlternateTypeRules
java.lang.Object
springfox.documentation.schema.AlternateTypeRules
-
字段概要
字段修饰符和类型字段说明static final intstatic final int -
方法概要
修饰符和类型方法说明static AlternateTypeRulenewMapRule(Class<?> key, Class<?> value) Helper method to create a new alternate forMap<K,V>that results in an alternate of typeList<Entry<K,V>>.static AlternateTypeRuleHelper method to create a new alternate rule.static AlternateTypeRuleHelper method to create a new alternate rule.
-
字段详细资料
-
方法详细资料
-
newRule
Helper method to create a new alternate rule.- 参数:
original- the originalalternate- the alternate- 返回:
- the alternate type rule
-
newRule
Helper method to create a new alternate rule.- 参数:
original- the originalalternate- the alternateorder- the order in which the rule is applied.Ordered- 返回:
- the alternate type rule
-
newMapRule
Helper method to create a new alternate forMap<K,V>that results in an alternate of typeList<Entry<K,V>>.- 参数:
key- the class that represents a keyvalue- the value- 返回:
- the alternate type rule
-